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

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

diff -u --recursive --new-file v2.1.100/linux/net/ipv4/ipconfig.c linux/net/ipv4/ipconfig.c
@@ -1,5 +1,5 @@
 /*
- *  $Id: ipconfig.c,v 1.11 1998/02/12 07:43:16 davem Exp $
+ *  $Id: ipconfig.c,v 1.12 1998/05/03 14:30:53 alan Exp $
  *
  *  Automatic Configuration of IP -- use BOOTP or RARP or user-supplied
  *  information to configure own IP address and routes.
@@ -552,7 +552,7 @@
 {
 	int err;
 
-	if ((err = sock_create(AF_INET, SOCK_DGRAM, IPPROTO_UDP, sock)) < 0)
+	if ((err = sock_create(PF_INET, SOCK_DGRAM, IPPROTO_UDP, sock)) < 0)
 		printk(KERN_ERR "BOOTP: Cannot open UDP socket!\n");
 	return err;
 }

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