patch-2.1.101 linux/net/ipv4/devinet.c

Next file: linux/net/ipv4/ipconfig.c
Previous file: linux/net/ipv4/af_inet.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.100/linux/net/ipv4/devinet.c linux/net/ipv4/devinet.c
@@ -1,7 +1,7 @@
 /*
  *	NET3	IP device support routines.
  *
- *	Version: $Id: devinet.c,v 1.20 1998/03/27 07:02:44 davem Exp $
+ *	Version: $Id: devinet.c,v 1.21 1998/05/03 14:30:52 alan Exp $
  *
  *		This program is free software; you can redistribute it and/or
  *		modify it under the terms of the GNU General Public License
@@ -1014,10 +1014,10 @@
 
 __initfunc(void devinet_init(void))
 {
-	register_gifconf(AF_INET, inet_gifconf);
+	register_gifconf(PF_INET, inet_gifconf);
 	register_netdevice_notifier(&ip_netdev_notifier);
 #ifdef CONFIG_RTNETLINK
-	rtnetlink_links[AF_INET] = inet_rtnetlink_table;
+	rtnetlink_links[PF_INET] = inet_rtnetlink_table;
 #endif
 #ifdef CONFIG_SYSCTL
 	devinet_sysctl.sysctl_header =

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