]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
Fix dpp_configurator_get_key command name in hostapd_cli
authorDamodaran, Rohit (Contractor) <Rohit_Damodaran@comcast.com>
Thu, 15 Nov 2018 14:20:32 +0000 (14:20 +0000)
committerJouni Malinen <j@w1.fi>
Thu, 22 Nov 2018 13:53:26 +0000 (15:53 +0200)
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 <Rohit_Damodaran@comcast.com>
hostapd/hostapd_cli.c

index fbec5d24612dda3323b3f4e7547a258b0e955c4d..e9f8b8ca4a45fe042eb34176597ed66adedd599a 100644 (file)
@@ -1637,7 +1637,7 @@ static const struct hostapd_cli_cmd hostapd_cli_commands[] = {
        { "dpp_configurator_remove", hostapd_cli_cmd_dpp_configurator_remove,
          NULL,
          "*|<id> = 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,
          "<id> = Get DPP configurator's private key" },
        { "dpp_pkex_add", hostapd_cli_cmd_dpp_pkex_add, NULL,