diff options
author | Stig Bjørlykke <stig@bjorlykke.org> | 2017-04-28 21:26:53 +0200 |
---|---|---|
committer | Stig Bjørlykke <stig@bjorlykke.org> | 2017-05-02 09:34:01 +0000 |
commit | 741d4f5898082f29c6732f16dd57139021545c15 (patch) | |
tree | 92f378c9557fd526f5469d8a4f30ea6563cd52e4 /extcap_parser.c | |
parent | afb4de370a4c54e08e9367b55ae142414efc6e8f (diff) |
Qt: Interface Toolbar improvements
- Select one of the capturing interfaces when start capture
- Only send user changed control values when start capture
- Don't show hidden interfaces
- Allow a toolbar with no interfaces
- Renamed button role "reset" to "restore"
- Improved control number validation
- Updated documentation
Change-Id: Icc8d04043c95c1f3ef8d7cdc3b251be4471cba0a
Reviewed-on: https://code.wireshark.org/review/21445
Petri-Dish: Stig Bjørlykke <stig@bjorlykke.org>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: Stig Bjørlykke <stig@bjorlykke.org>
Diffstat (limited to 'extcap_parser.c')
-rw-r--r-- | extcap_parser.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/extcap_parser.c b/extcap_parser.c index 7f7b6ceb0c..2f7a085947 100644 --- a/extcap_parser.c +++ b/extcap_parser.c @@ -730,8 +730,8 @@ static iface_toolbar_control *extcap_parse_control_sentence(GList *control_items control->ctrl_role = INTERFACE_ROLE_HELP; } else if (g_ascii_strcasecmp(param_value, "logger") == 0) { control->ctrl_role = INTERFACE_ROLE_LOGGER; - } else if (g_ascii_strcasecmp(param_value, "reset") == 0) { - control->ctrl_role = INTERFACE_ROLE_RESET; + } else if (g_ascii_strcasecmp(param_value, "restore") == 0) { + control->ctrl_role = INTERFACE_ROLE_RESTORE; } else { printf("invalid role %s in CONTROL sentence\n", param_value); control->ctrl_role = INTERFACE_ROLE_UNKNOWN; |