strongswan.org
Wiki/Project Management
Downloads
Gitweb
projects
/
strongswan.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fff4b74
)
starter: Don't treat unsupported keywords as fatal errors just report them.
author
Tobias Brunner
<tobias@strongswan.org>
Wed, 16 May 2012 14:25:32 +0000
(16:25 +0200)
committer
Tobias Brunner
<tobias@strongswan.org>
Mon, 11 Jun 2012 15:33:32 +0000
(17:33 +0200)
src/starter/confread.c
patch
|
blob
|
history
diff --git
a/src/starter/confread.c
b/src/starter/confread.c
index
f78a061
..
ee3f25c
100644
(file)
--- a/
src/starter/confread.c
+++ b/
src/starter/confread.c
@@
-128,7
+128,7
@@
static void load_setup(starter_config_t *cfg, config_parsed_t *cfgp)
{
DBG1(DBG_APP, "# unsupported keyword '%s' in config setup",
kw->entry->name);
- cfg->err++;
+ cfg->
non_fatal_
err++;
continue;
}
@@
-443,7
+443,7
@@
static void load_conn(starter_conn_t *conn, kw_list_t *kw, starter_config_t *cfg
{
DBG1(DBG_APP, "# unsupported keyword '%s' in conn '%s'",
kw->entry->name, conn_name);
- cfg->err++;
+ cfg->
non_fatal_
err++;
continue;
}
@@
-628,7
+628,7
@@
static void load_ca(starter_ca_t *ca, kw_list_t *kw, starter_config_t *cfg)
{
DBG1(DBG_APP, "# unsupported keyword '%s' in ca '%s'",
kw->entry->name, ca_name);
- cfg->err++;
+ cfg->
non_fatal_
err++;
continue;
}