patch-2.1.27 linux/fs/nfs/nfsroot.c
Next file: linux/include/asm-i386/irq.h
Previous file: linux/fs/filesystems.c
Back to the patch index
Back to the overall index
-  Lines: 8
-  Date:
Fri Feb 21 14:58:35 1997
-  Orig file: 
v2.1.26/linux/fs/nfs/nfsroot.c
-  Orig date: 
Fri Feb  7 05:54:54 1997
diff -u --recursive --new-file v2.1.26/linux/fs/nfs/nfsroot.c linux/fs/nfs/nfsroot.c
@@ -1351,6 +1351,7 @@
 			root_dev->pa_addr | ~root_dev->pa_mask;
 		devinet_ioctl(SIOCSIFBRDADDR, &ifr);
 	}
+	netmask.sin_addr.s_addr = root_dev->pa_mask;
 	set_fs(fs);
 
 	/*
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov