diff options
author | Michael Mann <mmann78@netscape.net> | 2014-06-19 15:39:39 -0400 |
---|---|---|
committer | Michael Mann <mmann78@netscape.net> | 2014-06-20 04:09:31 +0000 |
commit | 45608810709251652104e32b3fd8065b0d50d0aa (patch) | |
tree | 9b80ff6c75ee540494dafc28010ba44acc2608d5 /epan/dissectors/packet-tte-pcf.c | |
parent | df93705cc284dd2401682a661708b83f8cee38a6 (diff) |
Cleanup display filters reported by checkfiltername.pl
Also ensured some files have their correct names at the top so they are more easily grepped
Change-Id: Ib0f5ddf14eb1616a93dee496107dc0eb09048825
Reviewed-on: https://code.wireshark.org/review/2452
Reviewed-by: Michael Mann <mmann78@netscape.net>
Diffstat (limited to 'epan/dissectors/packet-tte-pcf.c')
-rw-r--r-- | epan/dissectors/packet-tte-pcf.c | 24 |
1 files changed, 8 insertions, 16 deletions
diff --git a/epan/dissectors/packet-tte-pcf.c b/epan/dissectors/packet-tte-pcf.c index 97be592f4c..23768529f8 100644 --- a/epan/dissectors/packet-tte-pcf.c +++ b/epan/dissectors/packet-tte-pcf.c @@ -42,7 +42,6 @@ void proto_reg_handoff_tte_pcf(void); /* Initialize the protocol and registered fields */ static int proto_tte_pcf = -1; -/* static int hf_tte_pcf = -1; */ static int hf_tte_pcf_ic = -1; static int hf_tte_pcf_mn = -1; /* static int hf_tte_pcf_res0 = -1; */ @@ -146,54 +145,47 @@ proto_register_tte_pcf(void) { static hf_register_info hf[] = { -#if 0 - { &hf_tte_pcf, - { "Protocol Control Frame", "tte.pcf", - FT_BYTES, BASE_NONE, NULL, 0x0, - NULL, HFILL } - }, -#endif { &hf_tte_pcf_ic, - { "Integration Cycle", "tte.pcf.ic", + { "Integration Cycle", "tte_pcf.ic", FT_UINT32, BASE_HEX, NULL, 0x0, NULL, HFILL } }, { &hf_tte_pcf_mn, - { "Membership New", "tte.pcf.mn", + { "Membership New", "tte_pcf.mn", FT_UINT32, BASE_HEX, NULL, 0x0, NULL, HFILL } }, #if 0 { &hf_tte_pcf_res0, - { "Reserved 0", "tte.pcf.res0", + { "Reserved 0", "tte_pcf.res0", FT_UINT32, BASE_HEX, NULL, 0x0, NULL, HFILL } }, #endif { &hf_tte_pcf_sp, - { "Sync Priority", "tte.pcf.sp", + { "Sync Priority", "tte_pcf.sp", FT_UINT8, BASE_HEX, NULL, 0x0, NULL, HFILL } }, { &hf_tte_pcf_sd, - { "Sync Domain", "tte.pcf.sd", + { "Sync Domain", "tte_pcf.sd", FT_UINT8, BASE_HEX, NULL, 0x0, NULL, HFILL } }, { &hf_tte_pcf_type, - { "Type", "tte.pcf.type", + { "Type", "tte_pcf.type", FT_UINT8, BASE_HEX, VALS(pcf_type_str_vals), 0x0F, NULL, HFILL } }, #if 0 { &hf_tte_pcf_res1, - { "Reserved 1", "tte.pcf.res1", + { "Reserved 1", "tte_pcf.res1", FT_BYTES, BASE_NONE, NULL, 0x0, NULL, HFILL } }, #endif { &hf_tte_pcf_tc, - { "Transparent Clock", "tte.pcf.tc", + { "Transparent Clock", "tte_pcf.tc", FT_UINT64, BASE_HEX, NULL, 0x0, NULL, HFILL } } |