aboutsummaryrefslogtreecommitdiffstats
path: root/epan
diff options
context:
space:
mode:
authorJim Young <jyoung@gsu.edu>2018-12-25 12:42:03 -0500
committerAnders Broman <a.broman58@gmail.com>2018-12-25 21:22:54 +0000
commit530c64f22c942104b64b43fd8d33e78efdcdb700 (patch)
treeea654199107a066a36c81ae2159c6f8ea97b19c7 /epan
parentc899c002afc3c10e9cbe137677af3996340972af (diff)
prefs: Document the possible hidden interface types
The preferences file includes an optional comma-separated string of hidden interface type integer values (gui.interfaces_hidden_types). Augment the interface_type enum and the preferences file to better document what these interface type integer values stand for. Change-Id: Idd268ed7f252cfa56dd046d24ff7ff597018f5d3 Reviewed-on: https://code.wireshark.org/review/31191 Petri-Dish: Jim Young <jim.young.ws@gmail.com> Tested-by: Petri Dish Buildbot Reviewed-by: Anders Broman <a.broman58@gmail.com>
Diffstat (limited to 'epan')
-rw-r--r--epan/prefs.c13
1 files changed, 12 insertions, 1 deletions
diff --git a/epan/prefs.c b/epan/prefs.c
index b2f981818a..3c7a85f868 100644
--- a/epan/prefs.c
+++ b/epan/prefs.c
@@ -3396,7 +3396,18 @@ prefs_register_modules(void)
&prefs.gui_interfaces_remote_display);
register_string_like_preference(gui_module, "interfaces_hidden_types", "Hide interface types in list",
- "Hide the given interface types in the startup list",
+ "Hide the given interface types in the startup list.\n"
+ "A commma-separated string of interface type values (e.g. 5,9).\n"
+ "0 = Wired,\n"
+ "1 = AirPCAP,\n"
+ "2 = Pipe,\n"
+ "3 = STDIN,\n"
+ "4 = Bluetooth,\n"
+ "5 = Wireless,\n"
+ "6 = Dial-Up,\n"
+ "7 = USB,\n"
+ "8 = External Capture,\n"
+ "9 = Virtual",
&prefs.gui_interfaces_hide_types, PREF_STRING, NULL, TRUE);
/* Console