diff options
author | Guy Harris <guy@alum.mit.edu> | 2003-10-06 20:46:52 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2003-10-06 20:46:52 +0000 |
commit | af5b47a0c288d02deb584772501f455b42f1581a (patch) | |
tree | b4e06d0ffcec8e4e517a4e3aa5774fe630c0b105 /packet-fcdns.c | |
parent | 7183be72b27ed25d381c312dba5c29a81049f629 (diff) |
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-fcdns.c')
-rw-r--r-- | packet-fcdns.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/packet-fcdns.c b/packet-fcdns.c index 0429079a93..083f955a28 100644 --- a/packet-fcdns.c +++ b/packet-fcdns.c @@ -2,7 +2,7 @@ * Routines for FC distributed Name Server (dNS) * Copyright 2001, Dinesh G Dutt <ddutt@andiamo.com> * - * $Id: packet-fcdns.c,v 1.1 2003/01/14 01:17:44 guy Exp $ + * $Id: packet-fcdns.c,v 1.2 2003/10/06 20:46:50 guy Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@ethereal.com> @@ -1790,9 +1790,6 @@ proto_register_fcdns (void) { &hf_fcdns_fc4type, {"FC-4 Type", "fcdns.req.fc4type", FT_STRING, BASE_HEX, NULL, 0x0, "", HFILL}}, - { &hf_fcdns_rply_fc4desc, - {"FC-4 Descriptor", "fcdns.rply.fc4desc", FT_STRING, BASE_HEX, NULL, - 0x0, "", HFILL}}, { &hf_fcdns_rply_fc4feat, {"FC-4 Features", "fcdns.rply.fc4features", FT_STRING, BASE_HEX, NULL, 0x0, "", HFILL}}, |