aboutsummaryrefslogtreecommitdiffstats
path: root/packet-vlan.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2001-06-18 02:18:27 +0000
committerGuy Harris <guy@alum.mit.edu>2001-06-18 02:18:27 +0000
commit84123931970a8a0f1af281e7351eadabba3c0908 (patch)
tree90c18fd2b2f7ddb3e9eac08059e59c3e0068f743 /packet-vlan.c
parentb9222c0011e362d2ba9895af4eaef04a3d72c8c6 (diff)
From Joerg Mayer: explicitly fill in all members of a
"header_field_info" structure, including the ones that are later set by the routines to register fields. svn path=/trunk/; revision=3561
Diffstat (limited to 'packet-vlan.c')
-rw-r--r--packet-vlan.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/packet-vlan.c b/packet-vlan.c
index d0430b0a20..6205a0c184 100644
--- a/packet-vlan.c
+++ b/packet-vlan.c
@@ -1,7 +1,7 @@
/* packet-vlan.c
* Routines for VLAN 802.1Q ethernet header disassembly
*
- * $Id: packet-vlan.c,v 1.33 2001/02/08 07:08:05 guy Exp $
+ * $Id: packet-vlan.c,v 1.34 2001/06/18 02:17:53 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@zing.org>
@@ -137,22 +137,22 @@ proto_register_vlan(void)
static hf_register_info hf[] = {
{ &hf_vlan_priority, {
"Priority", "vlan.priority", FT_UINT16, BASE_BIN,
- 0, 0xE000, "Priority" }},
+ 0, 0xE000, "Priority", HFILL }},
{ &hf_vlan_cfi, {
"CFI", "vlan.cfi", FT_UINT16, BASE_BIN,
- 0, 0x1000, "CFI" }}, /* XXX - Boolean? */
+ 0, 0x1000, "CFI", HFILL }}, /* XXX - Boolean? */
{ &hf_vlan_id, {
"ID", "vlan.id", FT_UINT16, BASE_BIN,
- 0, 0x0FFF, "ID" }},
+ 0, 0x0FFF, "ID", HFILL }},
{ &hf_vlan_etype, {
"Type", "vlan.etype", FT_UINT16, BASE_HEX,
- VALS(etype_vals), 0x0, "Type" }},
+ VALS(etype_vals), 0x0, "Type", HFILL }},
{ &hf_vlan_len, {
"Length", "vlan.len", FT_UINT16, BASE_DEC,
- NULL, 0x0, "Length" }},
+ NULL, 0x0, "Length", HFILL }},
{ &hf_vlan_trailer, {
"Trailer", "vlan.trailer", FT_BYTES, BASE_NONE,
- NULL, 0x0, "VLAN Trailer" }}
+ NULL, 0x0, "VLAN Trailer", HFILL }}
};
static gint *ett[] = {
&ett_vlan,