summaryrefslogtreecommitdiffstats
path: root/sys/netinet/if_ether.c
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>2000-02-13 03:32:07 +0000
committerpeter <peter@FreeBSD.org>2000-02-13 03:32:07 +0000
commita5441090deef0b9401bd8291ffdca1f66ca5362d (patch)
tree08db8fae584f4c3cdf2ad5b2ac80c1bd44801d5a /sys/netinet/if_ether.c
parent97c685efe694921d4948ef681efe38f0ad0bac8c (diff)
downloadFreeBSD-src-a5441090deef0b9401bd8291ffdca1f66ca5362d.zip
FreeBSD-src-a5441090deef0b9401bd8291ffdca1f66ca5362d.tar.gz
Clean up some loose ends in the network code, including the X.25 and ISO
#ifdefs. Clean out unused netisr's and leftover netisr linker set gunk. Tested on x86 and alpha, including world. Approved by: jkh
Diffstat (limited to 'sys/netinet/if_ether.c')
-rw-r--r--sys/netinet/if_ether.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/sys/netinet/if_ether.c b/sys/netinet/if_ether.c
index 8c92de3..c87b72d 100644
--- a/sys/netinet/if_ether.c
+++ b/sys/netinet/if_ether.c
@@ -161,6 +161,7 @@ arp_rtrequest(req, rt, sa)
arpinit_done = 1;
LIST_INIT(&llinfo_arp);
timeout(arptimer, (caddr_t)0, hz);
+ register_netisr(NETISR_ARP, arpintr);
}
if (rt->rt_flags & RTF_GATEWAY)
return;
@@ -458,9 +459,6 @@ arpintr()
}
}
-NETISR_SET(NETISR_ARP, arpintr);
-
-
#ifdef INET
/*
* ARP for Internet protocols on 10 Mb/s Ethernet.
OpenPOWER on IntegriCloud