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

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

diff -u --recursive --new-file v2.1.10/linux/net/ipv6/addrconf.c linux/net/ipv6/addrconf.c
@@ -862,7 +862,7 @@
 		dev = sit_add_tunnel(ireq.addr.s6_addr32[3]);
 		
 		if (dev == NULL)
-			return -ENOMEM;
+			return -ENODEV;
 
 		return 0;
 	}

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