summaryrefslogtreecommitdiffstats
path: root/toolbox
diff options
context:
space:
mode:
authorThe Android Open Source Project <initial-contribution@android.com>2010-05-19 11:33:56 -0700
committerAndroid Git Automerger <android-git-automerger@android.com>2010-05-19 11:33:56 -0700
commit53a79a841b4afa5e7dc3e05cfd04b5ae44de95b6 (patch)
treec23753fec2cb41fcae58bd1ec90272bc40647bc7 /toolbox
parentc0d8fb5842f57bbc244e9c9596707787caabf44e (diff)
parent49337b27d9a90d7c3f703f618e7c6bfaffc2a96d (diff)
downloadsystem_core-53a79a841b4afa5e7dc3e05cfd04b5ae44de95b6.zip
system_core-53a79a841b4afa5e7dc3e05cfd04b5ae44de95b6.tar.gz
system_core-53a79a841b4afa5e7dc3e05cfd04b5ae44de95b6.tar.bz2
am 49337b27: merge from open-source master
Merge commit '49337b27d9a90d7c3f703f618e7c6bfaffc2a96d' into kraken * commit '49337b27d9a90d7c3f703f618e7c6bfaffc2a96d': Fix "route add default dev <iface>" behaviour
Diffstat (limited to 'toolbox')
-rw-r--r--toolbox/route.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/toolbox/route.c b/toolbox/route.c
index 4f66201..107e48a 100644
--- a/toolbox/route.c
+++ b/toolbox/route.c
@@ -61,7 +61,7 @@ int route_main(int argc, char *argv[])
if (!strcmp(argv[2], "default")) {
/* route add default dev wlan0 */
if (argc > 4 && !strcmp(argv[3], "dev")) {
- rt.rt_flags = RTF_UP | RTF_HOST;
+ rt.rt_flags = RTF_UP;
rt.rt_dev = argv[4];
errno = 0;
goto apply;