patch-2.1.14 linux/net/ipv6/af_inet6.c
Next file: linux/net/ipv6/ipv6_route.c
Previous file: linux/net/ipv6/addrconf.c
Back to the patch index
Back to the overall index
-  Lines: 14
-  Date:
Tue Nov 26 10:46:41 1996
-  Orig file: 
v2.1.13/linux/net/ipv6/af_inet6.c
-  Orig date: 
Sat Nov 30 12:03:13 1996
diff -u --recursive --new-file v2.1.13/linux/net/ipv6/af_inet6.c linux/net/ipv6/af_inet6.c
@@ -550,6 +550,13 @@
 		
 		return -EINVAL;
 
+	case SIOGIFINDEX:
+		/*
+		 *	This one will be moved to the generic device
+		 *	layer in the near future
+		 */
+		return addrconf_get_ifindex((void *) arg);
+		
 	case SIOCSIFADDR:
 		return addrconf_add_ifaddr((void *) arg);
 	case SIOCSIFDSTADDR:
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov