diff options
author | Martin Willi <martin@strongswan.org> | 2007-03-08 20:17:34 +0000 |
---|---|---|
committer | Martin Willi <martin@strongswan.org> | 2007-03-08 20:17:34 +0000 |
commit | bb32e76c3a2d1c9b64126c853029b9df7e0a75ce (patch) | |
tree | a3febefe0f5611b25acf27e4ffce03039e6c10b3 /src/charon/threads/kernel_interface.c | |
parent | 162afac75fbc01821a9026066768b820a85e8c7f (diff) | |
download | strongswan-bb32e76c3a2d1c9b64126c853029b9df7e0a75ce.tar.bz2 strongswan-bb32e76c3a2d1c9b64126c853029b9df7e0a75ce.tar.xz |
disabling routing for IPv6, does not work correctly
Diffstat (limited to 'src/charon/threads/kernel_interface.c')
-rw-r--r-- | src/charon/threads/kernel_interface.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/charon/threads/kernel_interface.c b/src/charon/threads/kernel_interface.c index 4f2230b95..a2a4265a7 100644 --- a/src/charon/threads/kernel_interface.c +++ b/src/charon/threads/kernel_interface.c @@ -1671,7 +1671,8 @@ static status_t add_policy(private_kernel_interface_t *this, return FAILED; } - if (direction == POLICY_FWD && mode != MODE_TRANSPORT) + if (direction == POLICY_FWD && mode != MODE_TRANSPORT && + src->get_family(src) != AF_INET6) { policy->route = malloc_thing(route_entry_t); if (get_address_by_ts(this, dst_ts, &policy->route->src_ip) == SUCCESS) |