set nexthop default value to 0::0 in IPv6 connections
[strongswan.git] / src / starter / confread.c
index 5dfcf93..0c188ee 100644 (file)
@@ -173,7 +173,7 @@ kw_end(starter_conn_t *conn, starter_end_t *end, kw_token_t token
                                goto err;
                        }
                }
                                goto err;
                        }
                }
-               else if (streq(value, "%any"))
+               else if (streq(value, "%any") || streq(value, "%any4"))
                {
                        anyaddr(conn->addr_family, &end->addr);
                }
                {
                        anyaddr(conn->addr_family, &end->addr);
                }