diff options
author | Guy Harris <guy@alum.mit.edu> | 2015-01-10 16:26:46 -0800 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2015-01-11 00:27:28 +0000 |
commit | fdd6554ccd1b01554865323045033db9ca858f97 (patch) | |
tree | 77d423c06196b46697d6c9465dfa511da378fdf6 /epan/ftypes | |
parent | b4f5b6e72b044c601994a874af0e6a3eab1e3a1d (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/ftypes')
-rw-r--r-- | epan/ftypes/ftype-bytes.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/epan/ftypes/ftype-bytes.c b/epan/ftypes/ftype-bytes.c index 469311e044..75552e9115 100644 --- a/epan/ftypes/ftype-bytes.c +++ b/epan/ftypes/ftype-bytes.c @@ -154,14 +154,14 @@ bytes_to_repr(fvalue_t *fv, ftrepr_t rtype _U_, int field_display, char *buf) else { switch(field_display) { - case BASE_DOT: + case SEP_DOT: separator = '.'; break; - case BASE_DASH: + case SEP_DASH: separator = '-'; break; - case BASE_SPACE: - case BASE_SEMICOLON: + case SEP_SPACE: + case SEP_COLON: case BASE_NONE: default: separator = ':'; |