aboutsummaryrefslogtreecommitdiffstats
path: root/src/libstrongswan/utils/host.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/libstrongswan/utils/host.c')
-rw-r--r--src/libstrongswan/utils/host.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/libstrongswan/utils/host.c b/src/libstrongswan/utils/host.c
index cb2b6a10f..e11017c1e 100644
--- a/src/libstrongswan/utils/host.c
+++ b/src/libstrongswan/utils/host.c
@@ -374,6 +374,10 @@ host_t *host_create_from_string(char *string, u_int16_t port)
{
return host_create_any(AF_INET);
}
+ if (streq(string, "%any6"))
+ {
+ return host_create_any(AF_INET6);
+ }
this = host_create_empty();
if (strchr(string, '.'))