]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
Fix typo in help text
authorAlan T. DeKok <aland@freeradius.org>
Sat, 16 Jun 2012 07:24:27 +0000 (09:24 +0200)
committerAlan T. DeKok <aland@freeradius.org>
Sun, 15 Jul 2012 17:09:47 +0000 (13:09 -0400)
src/main/command.c

index 1ca7e84ce7776808744f0e64621d001118605edf..5ce3cfe4aaa65705a19a34bdfa5d16ee6811c9a2 100644 (file)
@@ -1453,7 +1453,7 @@ static int command_set_module_config(rad_listen_t *listener, int argc, char *arg
        return 1;               /* success */
 }
 
-static int command_set_module_status(rad_listen_t *listener, int argc, char *argv[])
+static int command_set_module_state(rad_listen_t *listener, int argc, char *argv[])
 {
        CONF_SECTION *cs;
        module_instance_t *mi;
@@ -1782,9 +1782,9 @@ static fr_command_table_t command_table_set_module[] = {
          "set module config <module> variable value - set configuration for <module>",
          command_set_module_config, NULL },
 
-       { "status", FR_WRITE,
-         "set module status [alive|dead] - set the module to be alive or dead (always return \"fail\")",
-         command_set_module_status, NULL },
+       { "state", FR_WRITE,
+         "set module state NAME [alive|dead] - set the module NAME to be alive or dead (always return \"fail\")",
+         command_set_module_state, NULL },
 
        { NULL, 0, NULL, NULL, NULL }
 };