summaryrefslogtreecommitdiff
path: root/proto_icmpv6.c
diff options
context:
space:
mode:
Diffstat (limited to 'proto_icmpv6.c')
-rw-r--r--proto_icmpv6.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/proto_icmpv6.c b/proto_icmpv6.c
index e08ab1c..ba2af5e 100644
--- a/proto_icmpv6.c
+++ b/proto_icmpv6.c
@@ -10,6 +10,7 @@
* http://www.iana.org/assignments/icmpv6-parameters
*/
+#include <inttypes.h>
#include <stdio.h>
#include <stdint.h>
#include <netinet/in.h>
@@ -1270,7 +1271,7 @@ static int8_t dissect_icmpv6_type139(struct pkt_buff *pkt)
tprintf(", Qtype %s (%u)", qtype_name, qtype_nr);
tprintf(", Flags (0x%x)", ntohs(icmp_139->flags));
- tprintf(", Nonce (0x%lx)", ntohll(icmp_139->nonce));
+ tprintf(", Nonce (0x%"PRIx64")", ntohll(icmp_139->nonce));
dissect_icmpv6_node_inf_data(pkt);