summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>1999-12-10 02:29:48 +0000
committerGuy Harris <guy@alum.mit.edu>1999-12-10 02:29:48 +0000
commit9bd3c4224bef06341e271a901ab69f28de15922d (patch)
treeee2469f93a436a525db87b6139a2d952c78955bb
parent2d7ff82955c318891765868ca15f72e047cb706d (diff)
downloadwireshark-9bd3c4224bef06341e271a901ab69f28de15922d.tar.gz
Print only 4 hex digits for the "Flags and version" field, as it's 16
bits. svn path=/trunk/; revision=1272
-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",