X-Git-Url: http://git.samba.org/samba.git/?p=obnox%2Fwireshark%2Fwip.git;a=blobdiff_plain;f=epan%2Fdissectors%2Fpacket-bootp.c;h=a7d7cb642b58138fd725d325e4750ff10294c90c;hp=bf15e2104bdb5d8e320ab753d78fc23931740075;hb=ba8ded9bff723bc9209aa1bbc00240b306db61ea;hpb=91ea2a98dc9d8b07978d276fcc2810961412b756 diff --git a/epan/dissectors/packet-bootp.c b/epan/dissectors/packet-bootp.c index bf15e2104b..a7d7cb642b 100644 --- a/epan/dissectors/packet-bootp.c +++ b/epan/dissectors/packet-bootp.c @@ -46,7 +46,6 @@ #include #include -#include #include #include "packet-arp.h" #include "packet-dns.h" /* for get_dns_name() */ @@ -850,8 +849,8 @@ bootp_option(tvbuff_t *tvb, proto_tree *bp_tree, int voff, int eoff, case AUTHEN_RDM_MONOTONIC_COUNTER: proto_tree_add_text(v_tree, tvb, voff+5, 8, - "Replay Detection Value: %s", - u64toh(tvb_get_ptr(tvb, voff+5, 8))); + "Replay Detection Value: %" PRIx64, + tvb_get_ntoh64(tvb, voff+5)); break; default: