indentation of list.cs
[strongswan.git] / src / manager / controller / config_controller.c
index c5c96a0..e7941ad 100644 (file)
@@ -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);
                                }
                        }