From: Alan T. DeKok Date: Sat, 16 Jun 2012 07:24:27 +0000 (+0200) Subject: Fix typo in help text X-Git-Tag: release_2_2_0~103 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6c43143bcda3140fe6e785a1e7e49b9941f51ff1;p=thirdparty%2Ffreeradius-server.git Fix typo in help text --- diff --git a/src/main/command.c b/src/main/command.c index 1ca7e84ce77..5ce3cfe4aaa 100644 --- a/src/main/command.c +++ b/src/main/command.c @@ -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 variable value - set configuration for ", 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 } };