From: Damodaran, Rohit (Contractor) Date: Thu, 15 Nov 2018 14:20:32 +0000 (+0000) Subject: Fix dpp_configurator_get_key command name in hostapd_cli X-Git-Tag: hostap_2_7~81 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cd676ae34c442063038dcc22c6028e14a5b4518b;p=thirdparty%2Fhostap.git Fix dpp_configurator_get_key command name in hostapd_cli The option to get DPP configurator key in hostapd_cli was named incorrectly. It was wrongly pointing to dpp_configurator_remove. Fix this by using the correct name. Signed-off-by: Rohit Damodaran --- diff --git a/hostapd/hostapd_cli.c b/hostapd/hostapd_cli.c index fbec5d246..e9f8b8ca4 100644 --- a/hostapd/hostapd_cli.c +++ b/hostapd/hostapd_cli.c @@ -1637,7 +1637,7 @@ static const struct hostapd_cli_cmd hostapd_cli_commands[] = { { "dpp_configurator_remove", hostapd_cli_cmd_dpp_configurator_remove, NULL, "*| = remove DPP configurator" }, - { "dpp_configurator_remove", hostapd_cli_cmd_dpp_configurator_get_key, + { "dpp_configurator_get_key", hostapd_cli_cmd_dpp_configurator_get_key, NULL, " = Get DPP configurator's private key" }, { "dpp_pkex_add", hostapd_cli_cmd_dpp_pkex_add, NULL,