summaryrefslogtreecommitdiff
path: root/packet-lmp.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2003-10-06 20:46:52 +0000
committerGuy Harris <guy@alum.mit.edu>2003-10-06 20:46:52 +0000
commitaf5b47a0c288d02deb584772501f455b42f1581a (patch)
treeb4e06d0ffcec8e4e517a4e3aa5774fe630c0b105 /packet-lmp.c
parent7183be72b27ed25d381c312dba5c29a81049f629 (diff)
downloadwireshark-af5b47a0c288d02deb584772501f455b42f1581a.tar.gz
When registering a field, make sure its ID is -1 or 0 - if it's not,
that probably means you've registered two fields with the same field ID variable, which is an error. Fix the bugs doing so found. svn path=/trunk/; revision=8629
Diffstat (limited to 'packet-lmp.c')
-rw-r--r--packet-lmp.c9
1 files changed, 1 insertions, 8 deletions
diff --git a/packet-lmp.c b/packet-lmp.c
index 70880c33be..53a5d86a04 100644
--- a/packet-lmp.c
+++ b/packet-lmp.c
@@ -3,7 +3,7 @@
*
* (c) Copyright Ashok Narayanan <ashokn@cisco.com>
*
- * $Id: packet-lmp.c,v 1.15 2003/01/28 23:56:39 guy Exp $
+ * $Id: packet-lmp.c,v 1.16 2003/10/06 20:46:51 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
@@ -467,13 +467,6 @@ static hf_register_info lmpf_info[] = {
{ "REMOTE_NODE_ID", "lmp.obj.remote_nodeid", FT_NONE, BASE_NONE, NULL, 0x0,
"", HFILL }},
- {&lmp_filter[LMPF_CLASS_LOCAL_NODE_ID],
- { "LOCAL_NODE_ID", "lmp.obj.local_nodeid", FT_NONE, BASE_NONE, NULL, 0x0,
- "", HFILL }},
- {&lmp_filter[LMPF_CLASS_REMOTE_NODE_ID],
- { "REMOTE_NODE_ID", "lmp.obj.remote_nodeid", FT_NONE, BASE_NONE, NULL, 0x0,
- "", HFILL }},
-
{&lmp_filter[LMPF_CLASS_LOCAL_LINK_ID],
{ "LOCAL_LINK_ID", "lmp.obj.local_linkid", FT_NONE, BASE_NONE, NULL, 0x0,
"", HFILL }},