summaryrefslogtreecommitdiffstats
path: root/sys/netinet/if_ether.c
diff options
context:
space:
mode:
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