diff options
author | Bill Meier <wmeier@newsguy.com> | 2013-01-31 18:35:06 +0000 |
---|---|---|
committer | Bill Meier <wmeier@newsguy.com> | 2013-01-31 18:35:06 +0000 |
commit | 959ae3d687ca94a503174a496fec3ef803654bd6 (patch) | |
tree | 30c68a897e8c8ad05bbdc2aa88305db76954ab6f /epan/dissectors/packet-ldp.c | |
parent | d3a7f4b817160718d31eb3dd3b0b9a2029055c73 (diff) | |
download | wireshark-959ae3d687ca94a503174a496fec3ef803654bd6.tar.gz wireshark-959ae3d687ca94a503174a496fec3ef803654bd6.tar.bz2 wireshark-959ae3d687ca94a503174a496fec3ef803654bd6.zip |
Use '#if 0 ... #endif' rather than /** ... **/ to comment out
unused hf[] entries (which I should have done in the first place).
svn path=/trunk/; revision=47391
Diffstat (limited to 'epan/dissectors/packet-ldp.c')
-rw-r--r-- | epan/dissectors/packet-ldp.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/epan/dissectors/packet-ldp.c b/epan/dissectors/packet-ldp.c index 8ae20cef46..8491f97514 100644 --- a/epan/dissectors/packet-ldp.c +++ b/epan/dissectors/packet-ldp.c @@ -3063,18 +3063,18 @@ void proto_register_ldp(void) { static hf_register_info hf[] = { -/** +#if 0 { &hf_ldp_req, - /-* Change the following to the type you need *-/ + /* Change the following to the type you need */ { "Request", "ldp.req", FT_BOOLEAN, BASE_NONE, NULL, 0x0, NULL, HFILL }}, -**/ +#endif -/** +#if 0 { &hf_ldp_rsp, { "Response", "ldp.rsp", FT_BOOLEAN, BASE_NONE, NULL, 0x0, NULL, HFILL }}, -**/ +#endif { &hf_ldp_version, { "Version", "ldp.hdr.version", FT_UINT16, BASE_DEC, @@ -3709,11 +3709,11 @@ proto_register_ldp(void) { "Resource Class", "ldp.msg.tlv.resource_class", FT_UINT32, BASE_HEX, NULL, 0, "Resource Class (Color)", HFILL}}, -/** +#if 0 { &hf_ldp_tlv_diffserv, { "Diff-Serv TLV", "ldp.msg.tlv.diffserv", FT_NONE, BASE_NONE, NULL, 0, "Diffserv TLV", HFILL}}, -**/ +#endif { &hf_ldp_tlv_diffserv_type, { "LSP Type", "ldp.msg.tlv.diffserv.type", FT_UINT8, BASE_DEC, |