aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-fc.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2015-01-10 16:26:46 -0800
committerGuy Harris <guy@alum.mit.edu>2015-01-11 00:27:28 +0000
commitfdd6554ccd1b01554865323045033db9ca858f97 (patch)
tree77d423c06196b46697d6c9465dfa511da378fdf6 /epan/dissectors/packet-fc.c
parentb4f5b6e72b044c601994a874af0e6a3eab1e3a1d (diff)
Rename the FT_BYTES separator types to SEP_ from BASE_.
There's no requirement for "display" field values to have names beginning with BASE_; use SEP_, to indicate that they're separators. (And, yes, we should introduce SEP_NONE, with a value of 0, and use it.) While we're at it, fix BASE_SEMICOLON - the separator is a colon, not a semicolon - and document SEP_SPACE in doc/README.dissector. Change-Id: I856aafda2c60b8320dffe287f0deb06a9604a2bf Reviewed-on: https://code.wireshark.org/review/6486 Reviewed-by: Guy Harris <guy@alum.mit.edu>
Diffstat (limited to 'epan/dissectors/packet-fc.c')
-rw-r--r--epan/dissectors/packet-fc.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/epan/dissectors/packet-fc.c b/epan/dissectors/packet-fc.c
index 68b8440dd4..ed3bd11db8 100644
--- a/epan/dissectors/packet-fc.c
+++ b/epan/dissectors/packet-fc.c
@@ -1411,16 +1411,16 @@ proto_register_fc(void)
{"Frame type", "fc.ftype", FT_UINT8, BASE_HEX, VALS(fc_ftype_vals),
0x0, "Derived Type", HFILL}},
{ &hf_fc_did,
- { "Dest Addr", "fc.d_id", FT_BYTES, BASE_DOT, NULL, 0x0,
+ { "Dest Addr", "fc.d_id", FT_BYTES, SEP_DOT, NULL, 0x0,
"Destination Address", HFILL}},
{ &hf_fc_csctl,
{"CS_CTL", "fc.cs_ctl", FT_UINT8, BASE_HEX, NULL, 0x0,
NULL, HFILL}},
{ &hf_fc_sid,
- {"Src Addr", "fc.s_id", FT_BYTES, BASE_DOT, NULL, 0x0,
+ {"Src Addr", "fc.s_id", FT_BYTES, SEP_DOT, NULL, 0x0,
"Source Address", HFILL}},
{ &hf_fc_id,
- {"Addr", "fc.id", FT_BYTES, BASE_DOT, NULL, 0x0,
+ {"Addr", "fc.id", FT_BYTES, SEP_DOT, NULL, 0x0,
"Source or Destination Address", HFILL}},
{ &hf_fc_type,
{"Type", "fc.type", FT_UINT8, BASE_HEX, VALS (fc_fc4_val), 0x0,