summaryrefslogtreecommitdiff
path: root/radsecproxy.c
diff options
context:
space:
mode:
authorLinus Nordberg <linus@nordberg.se>2010-06-01 09:58:13 +0200
committerLinus Nordberg <linus@nordberg.se>2010-06-01 09:58:13 +0200
commit205865cfc023decf9e8b917dd2224ae4ee85423c (patch)
tree31b71a7af568a8c3431448ce87ab30f18d896258 /radsecproxy.c
parentd8db1dfb8a627bef2c0fe80cc9947eb867ef3fc9 (diff)
Reflect new debug level in man pages and comments in source.
Author: Kolbjørn Barmen <kolbjorn.barmen@uninett.no> Date: Tue Jun 1 09:52:17 2010 +0300
Diffstat (limited to 'radsecproxy.c')
-rw-r--r--radsecproxy.c4
1 files changed, 2 insertions, 2 deletions
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':