summaryrefslogtreecommitdiff
path: root/main/openvpn/src
diff options
context:
space:
mode:
authorArne Schwabe <arne@rfc2549.org>2014-11-26 00:09:04 +0100
committerArne Schwabe <arne@rfc2549.org>2014-11-26 00:09:04 +0100
commitbd7c4e1bfec496255522b38c490d795badcf954f (patch)
tree80b043505c75c3939035bf76963c3270d8c742d4 /main/openvpn/src
parentf97e14bf30624fd5b95571399b4a74f353ed2da4 (diff)
Also add gw for android default
--HG-- extra : rebase_source : 74111f1c2d5a4cfa35a136b00725d2910a6b8d7a
Diffstat (limited to 'main/openvpn/src')
-rw-r--r--main/openvpn/src/openvpn/route.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/main/openvpn/src/openvpn/route.c b/main/openvpn/src/openvpn/route.c
index 0fd29df6..47f599a7 100644
--- a/main/openvpn/src/openvpn/route.c
+++ b/main/openvpn/src/openvpn/route.c
@@ -2599,6 +2599,7 @@ get_default_gateway (struct route_gateway_info *rgi)
/* Android, set some pseudo GW, addr is in host byte order */
rgi->gateway.addr = 127 << 24 | 'd' << 16 | 'g' << 8 | 'w';
rgi->flags |= RGI_ADDR_DEFINED;
+ best_name = "android-default";
#endif
/* scan adapter list */