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 /plugins | |
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 'plugins')
-rw-r--r-- | plugins/docsis/packet-docsis.c | 2 | ||||
-rw-r--r-- | plugins/docsis/packet-mdd.c | 2 | ||||
-rw-r--r-- | plugins/wimax/msg_reg_req.c | 4 |
3 files changed, 4 insertions, 4 deletions
diff --git a/plugins/docsis/packet-docsis.c b/plugins/docsis/packet-docsis.c index 39a592b6d8..6f4b2a686e 100644 --- a/plugins/docsis/packet-docsis.c +++ b/plugins/docsis/packet-docsis.c @@ -950,7 +950,7 @@ proto_register_docsis (void) }, {&hf_docsis_ehdr_phsi, {"Payload Header Suppression Index", "docsis.ehdr.phsi", - FT_UINT8, BASE_DEC|BASE_VALS_NO_UNKNOWN, VALS(unique_no_phs), 0x0, + FT_UINT8, BASE_DEC|BASE_SPECIAL_VALS, VALS(unique_no_phs), 0x0, NULL, HFILL} }, {&hf_docsis_ehdr_qind, diff --git a/plugins/docsis/packet-mdd.c b/plugins/docsis/packet-mdd.c index 71d99568d0..755e0f0623 100644 --- a/plugins/docsis/packet-mdd.c +++ b/plugins/docsis/packet-mdd.c @@ -773,7 +773,7 @@ void proto_register_docsis_mdd (void) }, {&hf_docsis_mdd_maximum_number_of_reports_per_event, {"Maximum Number of Reports per Event", "docsis_mdd.maximum_number_of_reports_per_event", - FT_UINT8, BASE_DEC|BASE_VALS_NO_UNKNOWN, VALS(unique_unlimited), 0x0, + FT_UINT8, BASE_DEC|BASE_SPECIAL_VALS, VALS(unique_unlimited), 0x0, "Mdd Maximum Number of Reports per Event", HFILL} }, {&hf_docsis_mdd_upstream_transmit_power_reporting, diff --git a/plugins/wimax/msg_reg_req.c b/plugins/wimax/msg_reg_req.c index 6cd764aab2..1feefbeb68 100644 --- a/plugins/wimax/msg_reg_req.c +++ b/plugins/wimax/msg_reg_req.c @@ -740,7 +740,7 @@ void proto_register_mac_mgmt_msg_reg_req(void) &hf_reg_dsx_flow_control, { "DSx flow control", "wmx.reg.dsx_flow_control", - FT_UINT8, BASE_DEC|BASE_VALS_NO_UNKNOWN, VALS(unique_no_limit), 0x0, NULL, HFILL + FT_UINT8, BASE_DEC|BASE_SPECIAL_VALS, VALS(unique_no_limit), 0x0, NULL, HFILL } }, /* When REG-REQ TLV 7 is length 2 */ @@ -1072,7 +1072,7 @@ void proto_register_mac_mgmt_msg_reg_req(void) &hf_reg_mca_flow_control, { "MCA flow control", "wmx.reg.mca_flow_control", - FT_UINT8, BASE_DEC|BASE_VALS_NO_UNKNOWN, VALS(unique_no_limit), 0x0, NULL, HFILL + FT_UINT8, BASE_DEC|BASE_SPECIAL_VALS, VALS(unique_no_limit), 0x0, NULL, HFILL } }, { |