From 678a9b4bcf78d062675c9543323ad89f0342136c Mon Sep 17 00:00:00 2001 From: Lorenzo Colitti Date: Tue, 5 Mar 2013 12:01:12 +0900 Subject: Remove code to copy the default route. This is no longer necessary now that the kernel removes it for us when accept_ra = 2. Bug: 8276725 Change-Id: If16d9fbc63af2829f1ee4c87031f895f15a3b3d7 --- clatd.c | 3 --- 1 file changed, 3 deletions(-) (limited to 'clatd.c') diff --git a/clatd.c b/clatd.c index 203714c..f826d46 100644 --- a/clatd.c +++ b/clatd.c @@ -475,9 +475,6 @@ int main(int argc, char **argv) { configure_interface(uplink_interface, plat_prefix, &tunnel); - // turning on forwarding in linux has a side effect of calling rt6_purge_dflt_routers - // workaround: turn the RA-learned default route into a static route - set_default_ipv6_route(uplink_interface); set_forwarding(forwarding_fd,"1\n"); // Loop until someone sends us a signal or brings down the tun interface. -- cgit v1.2.3