strongswan.org
Wiki/Project Management
Downloads
Gitweb
projects
/
strongswan.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
indentation of list.cs
[strongswan.git]
/
src
/
manager
/
controller
/
config_controller.c
diff --git
a/src/manager/controller/config_controller.c
b/src/manager/controller/config_controller.c
index
c5c96a0
..
e7941ad
100644
(file)
--- a/
src/manager/controller/config_controller.c
+++ b/
src/manager/controller/config_controller.c
@@
-70,6
+70,10
@@
static void process_peerconfig(private_config_controller_t *this,
{
if (streq(name, "local") || streq(name, "remote"))
{
+ if (streq(value, "0.0.0.0") || streq(value, "::"))
+ {
+ value = "%any";
+ }
r->setf(r, "peercfgs.%s.ikecfg.%s=%s", config, name, value);
}
}