patch-2.1.12 linux/net/ipv6/addrconf.c

Next file: linux/net/ipv6/ipv6_route.c
Previous file: linux/net/ipv4/tcp_timer.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.11/linux/net/ipv6/addrconf.c linux/net/ipv6/addrconf.c
@@ -491,11 +491,11 @@
 	}
 	else
 	{
-		rtmsg.rtmsg_prefixlen = 128;
+		rtmsg.rtmsg_prefixlen = 10;
 		rtmsg.rtmsg_dst.s6_addr32[0] = __constant_htonl(0xfe800000);
 		rtmsg.rtmsg_dst.s6_addr32[3] = dev->pa_dstaddr;
 		rtmsg.rtmsg_metric = 1;
-		rtmsg.rtmsg_flags = RTF_HOST|RTF_UP;
+		rtmsg.rtmsg_flags = RTF_NEXTHOP|RTF_UP;
 	}
 
 	strcpy(rtmsg.rtmsg_device, dev->name);

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov