From: Bjørn Mork Date: Wed, 24 Aug 2011 10:33:13 +0000 (+0200) Subject: radmin: fixup error message when attemting to delete non-dynamic client X-Git-Tag: release_3_0_0_beta0~668^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ce3981f8f488fc1f3aae5f5825764e6560714665;p=thirdparty%2Ffreeradius-server.git radmin: fixup error message when attemting to delete non-dynamic client commit b9e5dd2c changed the command syntax in line with docs, but failed to update the error message accordingly. Signed-off-by: Bjørn Mork --- diff --git a/src/main/command.c b/src/main/command.c index 8377d21483e..f2d3bc285a1 100644 --- a/src/main/command.c +++ b/src/main/command.c @@ -1818,7 +1818,7 @@ static int command_del_client(rad_listen_t *listener, int argc, char *argv[]) if (!client) return 0; if (!client->dynamic) { - cprintf(listener, "ERROR: Client %s was not dynamically defined.\n", argv[1]); + cprintf(listener, "ERROR: Client %s was not dynamically defined.\n", argv[0]); return 0; }