diff options
author | JuanJo Ciarlante <jjo@google.com> | 2009-11-11 15:35:31 +0100 |
---|---|---|
committer | JuanJo Ciarlante <juanjosec@gmail.com> | 2011-03-25 13:30:30 +0100 |
commit | 9d4c64b584173789780431e5fd5acf977cf72e9d (patch) | |
tree | 2ded8f89e663eacce051a30f5a353ebba7bd5cd6 /route.c | |
parent | * (prototype) fix for supporting "redirect-gateway" for tunneled ipv4 over ip... (diff) | |
download | openvpn-9d4c64b584173789780431e5fd5acf977cf72e9d.tar.xz |
* polished redirect-gateway (ipv4 on ipv6 endpoints) support
Diffstat (limited to '')
-rw-r--r-- | route.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -581,7 +581,7 @@ redirect_default_route_to_vpn (struct route_list *rl, const struct tuntap *tt, u if (!local) { /* route remote host to original default gateway */ - if (rl->spec.remote_host != 0xffffffff) { + if (rl->spec.remote_host != IPV4_INVALID_ADDR) { add_route3 (rl->spec.remote_host, ~0, rl->spec.net_gateway, |