diff options
author | Gerald Combs <gerald@wireshark.org> | 2016-09-20 14:11:29 -0700 |
---|---|---|
committer | Michael Mann <mmann78@netscape.net> | 2016-12-01 01:26:39 +0000 |
commit | cbf89c8ed842a58c282872cf8c42adf9b8b2ffee (patch) | |
tree | 3a0c338486818e511d8b9f27b0d16b3b213bcf9d /epan/dissectors/packet-eth.c | |
parent | 9887cd7feb7c377a3d046b924fe86907479be413 (diff) |
Check preference titles and descriptions.
When registering preferences, make sure our titles and descriptions are
valid UTF-8. Make sure our titles are short and only contain printable
characters.
Fix problematic titles and descriptions.
Change-Id: I20d3f93438f2b3c30266f934297feb79897f2ee5
Reviewed-on: https://code.wireshark.org/review/18998
Reviewed-by: Gerald Combs <gerald@wireshark.org>
Petri-Dish: Gerald Combs <gerald@wireshark.org>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: Michael Mann <mmann78@netscape.net>
Diffstat (limited to 'epan/dissectors/packet-eth.c')
-rw-r--r-- | epan/dissectors/packet-eth.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/epan/dissectors/packet-eth.c b/epan/dissectors/packet-eth.c index b07726fb4f..fc834c5759 100644 --- a/epan/dissectors/packet-eth.c +++ b/epan/dissectors/packet-eth.c @@ -965,11 +965,11 @@ proto_register_eth(void) ð_interpret_as_fw1_monitor); prefs_register_static_text_preference(eth_module, "ccsds_heuristic", + "Dissect as CCSDS if", "These are the conditions to match a payload against in order to determine if this\n" "is a CCSDS (Consultative Committee for Space Data Systems) packet within\n" "an 802.3 packet. A packet is considered as a possible CCSDS packet only if\n" - "one or more of the conditions are checked.", - "Describe the conditions that must be true for the CCSDS dissector to be called"); + "one or more of the conditions are checked."); prefs_register_bool_preference(eth_module, "ccsds_heuristic_length", "CCSDS Length in header matches payload size", |