diff options
author | Lorenzo Colitti <lorenzo@google.com> | 2013-03-13 12:26:35 +0900 |
---|---|---|
committer | Lorenzo Colitti <lorenzo@google.com> | 2013-03-19 16:45:20 +0900 |
commit | 41e758e33e6c3b43f363591d4113dea54a4330d9 (patch) | |
tree | dae35738b416159cac050950ad4360fbee5543d3 | |
parent | f2d2abde321c3b2d35edc2436be83611a75c576e (diff) | |
download | platform_external_android-clat-41e758e33e6c3b43f363591d4113dea54a4330d9.tar.gz platform_external_android-clat-41e758e33e6c3b43f363591d4113dea54a4330d9.tar.bz2 platform_external_android-clat-41e758e33e6c3b43f363591d4113dea54a4330d9.zip |
Don't add the IPv4 default route in clatd.
The IPv4 default route is now added by ConnectivityService
because the stacked LinkProperties object contains it.
Bug: 8276725
Change-Id: I6513bfa4df29b8663cefd30ed0bae1a80b63447c
-rw-r--r-- | clatd.c | 7 |
1 files changed, 0 insertions, 7 deletions
@@ -213,13 +213,6 @@ void configure_tun_ip(const struct tun_data *tunnel) { } configure_tun_ipv6(tunnel); - - /* setup default ipv4 route */ - status = if_route(tunnel->device4, AF_INET, &default_4, 0, NULL, 1, 0, ROUTE_REPLACE); - if(status < 0) { - logmsg(ANDROID_LOG_FATAL,"configure_tun_ip/if_route failed: %s",strerror(-status)); - exit(1); - } } /* function: drop_root |