aboutsummaryrefslogtreecommitdiffstats
path: root/packet-gre.c
diff options
context:
space:
mode:
authorguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>1999-12-10 02:29:48 +0000
committerguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>1999-12-10 02:29:48 +0000
commit18e2dc5b3fab4ae1dd24f422178fc0d68244a9cd (patch)
treeee2469f93a436a525db87b6139a2d952c78955bb /packet-gre.c
parent48ffd90b45832778182b9165d12a95edae55f398 (diff)
Print only 4 hex digits for the "Flags and version" field, as it's 16
bits. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@1272 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'packet-gre.c')
-rw-r--r--packet-gre.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/packet-gre.c b/packet-gre.c
index beae1d24a4..de0fd8a26e 100644
--- a/packet-gre.c
+++ b/packet-gre.c
@@ -2,7 +2,7 @@
* Routines for the Generic Routing Encapsulation (GRE) protocol
* Brad Robel-Forrest <brad.robel-forrest@watchguard.com>
*
- * $Id: packet-gre.c,v 1.9 1999/12/09 02:53:33 guy Exp $
+ * $Id: packet-gre.c,v 1.10 1999/12/10 02:29:48 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@unicom.net>
@@ -213,7 +213,7 @@ add_flags_and_ver(proto_tree *tree, guint16 flags_and_ver, int offset, int is_pp
int nbits = sizeof(flags_and_ver) * 8;
ti = proto_tree_add_text(tree, offset, 2,
- "Flags and version: %#08x", flags_and_ver);
+ "Flags and version: %#04x", flags_and_ver);
fv_tree = proto_item_add_subtree(ti, ett_gre_flags);
proto_tree_add_text(fv_tree, offset, sizeof(flags_and_ver), "%s",