diff options
author | Guy Harris <guy@alum.mit.edu> | 2017-04-18 15:27:28 -0700 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2017-04-18 22:28:07 +0000 |
commit | 913f9fb35335acd30aa231b00b23fd8f0dc379fb (patch) | |
tree | 01c6efe0aa401ea0c83507083cec853456ddcc77 /epan/dissectors/packet-alcap.c | |
parent | c9088466253f53bb29602810b7f4ad5fca627f92 (diff) |
Rename BASE_VALS_NO_UNKNOWN to BASE_SPECIAL_VALS.
It makes it a bit clearer what its purpose is - to allow a value_string
to be used for numeric rather than enumerated fields, giving certain
values of the field a special meaning.
Change the explanation in the documentation to match as well.
Change-Id: Id07b22eee996b79ea5f3473928d29adcabe09bf3
Reviewed-on: https://code.wireshark.org/review/21209
Reviewed-by: Guy Harris <guy@alum.mit.edu>
Diffstat (limited to 'epan/dissectors/packet-alcap.c')
-rw-r--r-- | epan/dissectors/packet-alcap.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/epan/dissectors/packet-alcap.c b/epan/dissectors/packet-alcap.c index 1704166fbb..32fc8f648c 100644 --- a/epan/dissectors/packet-alcap.c +++ b/epan/dissectors/packet-alcap.c @@ -1586,12 +1586,12 @@ proto_register_alcap(void) { &hf_alcap_ceid_pathid, { "Path ID", "alcap.ceid.pathid", - FT_UINT32, BASE_DEC|BASE_VALS_NO_UNKNOWN, VALS(all_paths_vals), 0, + FT_UINT32, BASE_DEC|BASE_SPECIAL_VALS, VALS(all_paths_vals), 0, NULL, HFILL } }, { &hf_alcap_ceid_cid, { "CID", "alcap.ceid.cid", - FT_UINT8, BASE_DEC|BASE_VALS_NO_UNKNOWN, VALS(all_cids_vals), 0, + FT_UINT8, BASE_DEC|BASE_SPECIAL_VALS, VALS(all_cids_vals), 0, NULL, HFILL } }, |