aboutsummaryrefslogtreecommitdiff
path: root/src/pkt.c
diff options
context:
space:
mode:
authorToni Uhlig <matzeton@googlemail.com>2019-07-06 01:31:29 +0200
committerToni Uhlig <matzeton@googlemail.com>2019-07-06 01:31:29 +0200
commitc64928e8e0211edf2ccfa628dfa41e5bd62ef8ae (patch)
treeeb7819ecb3fc79d65b13435dd12be3c226bab298 /src/pkt.c
parentd0c9e04d128e1696dcff089978cf823e0316389e (diff)
fixed format specifier issues
Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
Diffstat (limited to 'src/pkt.c')
-rw-r--r--src/pkt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pkt.c b/src/pkt.c
index c8eeba2..473737e 100644
--- a/src/pkt.c
+++ b/src/pkt.c
@@ -76,7 +76,7 @@ void handle_packet(char *buf, unsigned bytes, int is_pcap, struct sockaddr_in *a
if (bytes < sizeof(icmp_echo_packet_t)+sizeof(ping_tunnel_pkt_t))
pt_log(kLog_verbose, "Skipping this packet - too short. "
- "Expect: %d+%d = %d ; Got: %d\n",
+ "Expect: %lu+%lu = %lu ; Got: %u\n",
sizeof(icmp_echo_packet_t),
sizeof(ping_tunnel_pkt_t),
sizeof(icmp_echo_packet_t) +