diff options
author | Guy Harris <guy@alum.mit.edu> | 2001-06-18 02:18:27 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2001-06-18 02:18:27 +0000 |
commit | 84123931970a8a0f1af281e7351eadabba3c0908 (patch) | |
tree | 90c18fd2b2f7ddb3e9eac08059e59c3e0068f743 /packet-cdp.c | |
parent | b9222c0011e362d2ba9895af4eaef04a3d72c8c6 (diff) | |
download | wireshark-84123931970a8a0f1af281e7351eadabba3c0908.tar.gz wireshark-84123931970a8a0f1af281e7351eadabba3c0908.tar.bz2 wireshark-84123931970a8a0f1af281e7351eadabba3c0908.zip |
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-cdp.c')
-rw-r--r-- | packet-cdp.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/packet-cdp.c b/packet-cdp.c index 04b39573a8..cb96c4e75b 100644 --- a/packet-cdp.c +++ b/packet-cdp.c @@ -2,7 +2,7 @@ * Routines for the disassembly of the "Cisco Discovery Protocol" * (c) Copyright Hannes R. Boehm <hannes@boehm.org> * - * $Id: packet-cdp.c,v 1.36 2001/03/15 09:11:00 guy Exp $ + * $Id: packet-cdp.c,v 1.37 2001/06/18 02:17:45 guy Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@zing.org> @@ -539,23 +539,23 @@ proto_register_cdp(void) static hf_register_info hf[] = { { &hf_cdp_version, { "Version", "cdp.version", FT_UINT8, BASE_DEC, NULL, 0x0, - "" }}, + "", HFILL }}, { &hf_cdp_ttl, { "TTL", "cdp.ttl", FT_UINT16, BASE_DEC, NULL, 0x0, - "" }}, + "", HFILL }}, { &hf_cdp_checksum, { "Checksum", "cdp.checksum", FT_UINT16, BASE_HEX, NULL, 0x0, - "" }}, + "", HFILL }}, { &hf_cdp_tlvtype, { "Type", "cdp.tlv.type", FT_UINT16, BASE_HEX, VALS(type_vals), 0x0, - "" }}, + "", HFILL }}, { &hf_cdp_tlvlength, { "Length", "cdp.tlv.len", FT_UINT16, BASE_DEC, NULL, 0x0, - "" }}, + "", HFILL }}, }; static gint *ett[] = { &ett_cdp, |