patch-2.1.9 linux/fs/nfs/nfsroot.c
Next file: linux/include/asm-alpha/checksum.h
Previous file: linux/fs/ext2/file.c
Back to the patch index
Back to the overall index
- Lines: 18
- Date:
Sun Nov 10 19:12:57 1996
- Orig file:
v2.1.8/linux/fs/nfs/nfsroot.c
- Orig date:
Tue Oct 29 19:58:44 1996
diff -u --recursive --new-file v2.1.8/linux/fs/nfs/nfsroot.c linux/fs/nfs/nfsroot.c
@@ -79,7 +79,7 @@
#include <linux/net.h>
#include <linux/netdevice.h>
#include <linux/if_arp.h>
-#ifdef CONFIG_AX25
+#if defined(CONFIG_AX25) || defined(CONFIG_AX25_MODULE)
#include <net/ax25.h> /* For AX25_P_IP */
#endif
#include <linux/skbuff.h>
@@ -306,7 +306,7 @@
/* If it's not ethernet or AX25, delete it. */
if ((rarp->ar_pro != htons(ETH_P_IP) && dev->type != ARPHRD_AX25) ||
-#ifdef CONFIG_AX25
+#if defined(CONFIG_AX25) || defined(CONFIG_AX25_MODULE)
(rarp->ar_pro != htons(AX25_P_IP) && dev->type == ARPHRD_AX25) ||
#endif
rarp->ar_pln != 4) {
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov