From 7f6d5c04a869525d31e8d6e260d5195857481031 Mon Sep 17 00:00:00 2001 From: Martin Mathieson Date: Wed, 29 Aug 2007 15:35:27 +0000 Subject: [PATCH] Don't show fragment offset as a bit field, but note number of bits used in long text. svn path=/trunk/; revision=22727 --- epan/dissectors/packet-ip.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/epan/dissectors/packet-ip.c b/epan/dissectors/packet-ip.c index 6505068c1f..331a00e5f8 100644 --- a/epan/dissectors/packet-ip.c +++ b/epan/dissectors/packet-ip.c @@ -2418,8 +2418,8 @@ proto_register_ip(void) "", HFILL }}, { &hf_ip_frag_offset, - { "Fragment offset", "ip.frag_offset", FT_UINT16, BASE_DEC, NULL, 0x1fff, - "", HFILL }}, + { "Fragment offset", "ip.frag_offset", FT_UINT16, BASE_DEC, NULL, 0x0, + "Fragment offset (13 bits)", HFILL }}, { &hf_ip_ttl, { "Time to live", "ip.ttl", FT_UINT8, BASE_DEC, NULL, 0x0,