patch-2.1.88 linux/net/ipv6/sit.c

Next file: linux/net/ipx/Config.in
Previous file: linux/net/ipv6/route.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.87/linux/net/ipv6/sit.c linux/net/ipv6/sit.c
@@ -14,7 +14,6 @@
  *      2 of the License, or (at your option) any later version.
  */
 
-#include <linux/config.h>
 #define __NO_VERSION__
 #include <linux/module.h>
 #include <linux/errno.h>
@@ -404,7 +403,7 @@
 		}
 
 		addr6 = (struct in6_addr*)&neigh->primary_key;
-		addr_type = neigh->type;
+		addr_type = ipv6_addr_type(addr6);
 
 		if (addr_type == IPV6_ADDR_ANY) {
 			addr6 = &skb->nh.ipv6h->daddr;

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