diff options
author | guy <guy@f5534014-38df-0310-8fa8-9805f1628bb7> | 2003-01-31 03:17:56 +0000 |
---|---|---|
committer | guy <guy@f5534014-38df-0310-8fa8-9805f1628bb7> | 2003-01-31 03:17:56 +0000 |
commit | c69fbd88a7b59f840583728f30060b637b69dff8 (patch) | |
tree | eed196787c6507ea24eadb7cd17df52989e0489d /packet-vlan.c | |
parent | f01ce99614a950a3e71a6a5735823890e614f9bc (diff) |
Get rid of BASE_BIN - it's just the same as BASE_DEC, but people seemed
to be using it for stuff that should be hex, and for stuff that should
be Boolean. Use BASE_DEC if it should be decimal, BASE_HEX if it should
be hex, and make it Boolean if it should be Boolean.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@7053 f5534014-38df-0310-8fa8-9805f1628bb7
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 433cde5659..cfc6bb1a0e 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.41 2002/08/28 21:00:36 jmayer Exp $ + * $Id: packet-vlan.c,v 1.42 2003/01/31 03:17:47 guy Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@ethereal.com> @@ -128,13 +128,13 @@ proto_register_vlan(void) { static hf_register_info hf[] = { { &hf_vlan_priority, { - "Priority", "vlan.priority", FT_UINT16, BASE_BIN, + "Priority", "vlan.priority", FT_UINT16, BASE_DEC, 0, 0xE000, "Priority", HFILL }}, { &hf_vlan_cfi, { - "CFI", "vlan.cfi", FT_UINT16, BASE_BIN, + "CFI", "vlan.cfi", FT_UINT16, BASE_DEC, 0, 0x1000, "CFI", HFILL }}, /* XXX - Boolean? */ { &hf_vlan_id, { - "ID", "vlan.id", FT_UINT16, BASE_BIN, + "ID", "vlan.id", FT_UINT16, BASE_DEC, 0, 0x0FFF, "ID", HFILL }}, { &hf_vlan_etype, { "Type", "vlan.etype", FT_UINT16, BASE_HEX, |