From 205865cfc023decf9e8b917dd2224ae4ee85423c Mon Sep 17 00:00:00 2001 From: Linus Nordberg Date: Tue, 1 Jun 2010 09:58:13 +0200 Subject: Reflect new debug level in man pages and comments in source. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Author: Kolbjørn Barmen Date: Tue Jun 1 09:52:17 2010 +0300 --- radsecproxy.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'radsecproxy.c') diff --git a/radsecproxy.c b/radsecproxy.c index 9b1980b..5e50b96 100644 --- a/radsecproxy.c +++ b/radsecproxy.c @@ -3062,7 +3062,7 @@ void getmainconfig(const char *configfile) { if (loglevel != LONG_MIN) { if (loglevel < 1 || loglevel > 4) - debugx(1, DBG_ERR, "error in %s, value of option LogLevel is %d, must be 1, 2, 3 or 4", configfile, loglevel); + debugx(1, DBG_ERR, "error in %s, value of option LogLevel is %d, must be 1, 2, 3, 4 or 5", configfile, loglevel); options.loglevel = (uint8_t)loglevel; } if (addttl != LONG_MIN) { @@ -3088,7 +3088,7 @@ void getargs(int argc, char **argv, uint8_t *foreground, uint8_t *pretend, uint8 break; case 'd': if (strlen(optarg) != 1 || *optarg < '1' || *optarg > '4') - debugx(1, DBG_ERR, "Debug level must be 1, 2, 3 or 4, not %s", optarg); + debugx(1, DBG_ERR, "Debug level must be 1, 2, 3, 4 or 5, not %s", optarg); *loglevel = *optarg - '0'; break; case 'f': -- cgit v1.1