aboutsummaryrefslogtreecommitdiffstats
path: root/extcap_parser.c
diff options
context:
space:
mode:
Diffstat (limited to 'extcap_parser.c')
-rw-r--r--extcap_parser.c4
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;