patch-2.2.14 linux/net/irda/irlan/irlan_eth.c
Next file: linux/net/irda/irmod.c
Previous file: linux/net/irda/irda_device.c
Back to the patch index
Back to the overall index
-  Lines: 16
-  Date:
Tue Jan  4 10:12:27 2000
-  Orig file: 
v2.2.13/linux/net/irda/irlan/irlan_eth.c
-  Orig date: 
Mon Jun  7 16:19:59 1999
diff -u --recursive --new-file v2.2.13/linux/net/irda/irlan/irlan_eth.c linux/net/irda/irlan/irlan_eth.c
@@ -345,6 +345,7 @@
 	 * is useful if we have changed access points on the same
 	 * subnet.  
 	 */
+#ifdef CONFIG_INET	 
 	DEBUG(4, "IrLAN: Sending gratuitous ARP\n");
 	in_dev = dev->ip_ptr;
 	arp_send(ARPOP_REQUEST, ETH_P_ARP, 
@@ -352,6 +353,7 @@
 		 dev, 
 		 in_dev->ifa_list->ifa_address,
 		 NULL, dev->dev_addr, NULL);
+#endif /* CONFIG_INET */		 
 }
 
 /*
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)