arp.c patch

Nathan Spande (
Thu, 12 Dec 1996 18:32:21 -0600

Hello all. I seem to be one of the only people out here running with
arpd support built in, so I don't expect others will notice this. In
2.1.15 if arpd support is configured, the kernel will fail to build.
A patch for the offending code in arp.c is included here.

--- arp.c.orig Thu Dec 12 10:14:29 1996
+++ arp.c Thu Dec 12 10:14:37 1996
@@ -1074,7 +1074,7 @@
if (!arpd_not_running)
- arpd_lookup(entry->ip, entry->dev);
+ arpd_lookup(entry->ip, dev);
arp_send(ARPOP_REQUEST, ETH_P_ARP, entry->ip, dev,

entry doesn't have a dev field, which is why dev gets selected out at
the top of the function.

It seems that whatever the bug was that was causing arpd to die in
previous kernels has been fixed, though. Good job!

Nathan "Ed" Spande