Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/sugar_network/toolkit/netlink.py
diff options
context:
space:
mode:
Diffstat (limited to 'sugar_network/toolkit/netlink.py')
-rw-r--r--sugar_network/toolkit/netlink.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/sugar_network/toolkit/netlink.py b/sugar_network/toolkit/netlink.py
index 0eb857a..9ad8370 100644
--- a/sugar_network/toolkit/netlink.py
+++ b/sugar_network/toolkit/netlink.py
@@ -66,7 +66,7 @@ def wait_for_route():
if not line:
break
dst, gw = line.split('\t', 3)[1:3]
- if int(dst, 16) == 0:
+ if int(dst, 16) in (0, 224):
return gw
old_route = get_route()