diff options
author | Guy Harris <guy@alum.mit.edu> | 1999-11-10 05:42:06 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 1999-11-10 05:42:06 +0000 |
commit | bf1d3e63701422c6673b651e11ca3baf9a1fd1ea (patch) | |
tree | 8ffe167f806b41f2ee02a9854ef1e0e70b598015 /packet-vlan.c | |
parent | 3720c30197c6767a21ac61b10b1e989444d019fb (diff) |
Give all the fields in the VLAN header different names (fixing a
presumed cut-and-pasteo).
svn path=/trunk/; revision=992
Diffstat (limited to 'packet-vlan.c')
-rw-r--r-- | packet-vlan.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/packet-vlan.c b/packet-vlan.c index 38691d8ee3..add2d59832 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.2 1999/11/05 18:50:52 nneul Exp $ + * $Id: packet-vlan.c,v 1.3 1999/11/10 05:42:06 guy Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@zing.org> @@ -84,13 +84,13 @@ proto_register_vlan(void) "Type", "vlan.etype", FT_UINT16, BASE_HEX, VALS(etype_vals), 0x0, "Type" }}, { &hf_vlan_priority, { - "Priority", "vlan.etype", FT_UINT16, BASE_BIN, + "Priority", "vlan.priority", FT_UINT16, BASE_BIN, 0, 0xE000, "Priority" }}, { &hf_vlan_cfi, { - "CFI", "vlan.etype", FT_UINT16, BASE_BIN, + "CFI", "vlan.cfi", FT_UINT16, BASE_BIN, 0, 0x1000, "CFI" }}, { &hf_vlan_id, { - "ID", "vlan.etype", FT_UINT16, BASE_BIN, + "ID", "vlan.id", FT_UINT16, BASE_BIN, 0, 0x0FFF, "ID" }}, }; |