diff options
author | venaas <venaas> | 2009-01-12 13:30:33 +0000 |
---|---|---|
committer | venaas <venaas@e88ac4ed-0b26-0410-9574-a7f39faa03bf> | 2009-01-12 13:30:33 +0000 |
commit | 944f77756de661c1fff4a6da00c62d56fb143efc (patch) | |
tree | 53838f845d2a0060a1f24937f01b31852c64cb18 /radsecproxy.c | |
parent | 554d69f7ca4ee45cee6671f86ff30b9e469559c5 (diff) |
don't exit just because of bad dynamic config
git-svn-id: https://svn.testnett.uninett.no/radsecproxy/trunk@456 e88ac4ed-0b26-0410-9574-a7f39faa03bf
Diffstat (limited to 'radsecproxy.c')
-rw-r--r-- | radsecproxy.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/radsecproxy.c b/radsecproxy.c index 325acbf..a184eea 100644 --- a/radsecproxy.c +++ b/radsecproxy.c @@ -2907,8 +2907,10 @@ int confserver_cb(struct gconffile **cf, void *arg, char *block, char *opt, char } } - if (!conftype) - debugx(1, DBG_ERR, "error in block %s, option type missing", block); + if (!conftype) { + debug(DBG_ERR, "error in block %s, option type missing", block); + goto errexit; + } conf->type = protoname2int(conftype); if (conf->type == 255) { debug(DBG_ERR, "error in block %s, unknown transport %s", block, conftype); |