aboutsummaryrefslogtreecommitdiff
path: root/route.c
diff options
context:
space:
mode:
authorJuanJo Ciarlante <jjo@google.com>2009-11-11 15:35:31 +0100
committerJuanJo Ciarlante <juanjosec@gmail.com>2011-03-25 13:30:30 +0100
commit9d4c64b584173789780431e5fd5acf977cf72e9d (patch)
tree2ded8f89e663eacce051a30f5a353ebba7bd5cd6 /route.c
parent* (prototype) fix for supporting "redirect-gateway" for tunneled ipv4 over ip... (diff)
downloadopenvpn-9d4c64b584173789780431e5fd5acf977cf72e9d.tar.xz
* polished redirect-gateway (ipv4 on ipv6 endpoints) support
Diffstat (limited to '')
-rw-r--r--route.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/route.c b/route.c
index f3ed974..cf10334 100644
--- a/route.c
+++ b/route.c
@@ -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,