patch-2.1.27 linux/net/ipv6/ndisc.c

Next file: linux/net/ipx/af_ipx.c
Previous file: linux/net/ipv6/mcast.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.26/linux/net/ipv6/ndisc.c linux/net/ipv6/ndisc.c
@@ -35,6 +35,7 @@
 #include <linux/sched.h>
 #include <linux/net.h>
 #include <linux/in6.h>
+#include <linux/route.h>
 
 #include <net/neighbour.h>
 #include <linux/if_arp.h>
@@ -1847,6 +1848,9 @@
 #else
 	proc_net_register(&ndisc_proc_entry);
 #endif
+#endif
+#ifdef CONFIG_IPV6_MODULE
+	ndisc_eth_hook = ndisc_eth_resolv;
 #endif
 }
 

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