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

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