diff options
Diffstat (limited to 'sys/netinet/if_ether.c')
-rw-r--r-- | sys/netinet/if_ether.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/sys/netinet/if_ether.c b/sys/netinet/if_ether.c index d21b99ba151..c59fd2aed47 100644 --- a/sys/netinet/if_ether.c +++ b/sys/netinet/if_ether.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_ether.c,v 1.167 2015/09/13 10:42:32 dlg Exp $ */ +/* $OpenBSD: if_ether.c,v 1.168 2015/09/13 17:53:44 mpi Exp $ */ /* $NetBSD: if_ether.c,v 1.31 1996/05/11 12:59:58 mycroft Exp $ */ /* @@ -309,7 +309,7 @@ arprequest(struct ifnet *ifp, u_int32_t *sip, u_int32_t *tip, u_int8_t *enaddr) sa.sa_family = pseudo_AF_HDRCMPLT; sa.sa_len = sizeof(sa); m->m_flags |= M_BCAST; - if_output(ifp, m, &sa, NULL); + ifp->if_output(ifp, m, &sa, NULL); } /* @@ -709,7 +709,7 @@ in_arpinput(struct mbuf *m) mh = ml_dequeue(&la->la_ml); la_hold_total--; - if_output(ifp, mh, rt_key(rt), rt); + ifp->if_output(ifp, mh, rt_key(rt), rt); if (ml_len(&la->la_ml) == len) { /* mbuf is back in queue. Discard. */ @@ -759,7 +759,7 @@ out: eh->ether_type = htons(ETHERTYPE_ARP); sa.sa_family = pseudo_AF_HDRCMPLT; sa.sa_len = sizeof(sa); - if_output(ifp, m, &sa, NULL); + ifp->if_output(ifp, m, &sa, NULL); if_put(ifp); return; } @@ -974,7 +974,7 @@ revarprequest(struct ifnet *ifp) sa.sa_family = pseudo_AF_HDRCMPLT; sa.sa_len = sizeof(sa); m->m_flags |= M_BCAST; - if_output(ifp, m, &sa, NULL); + ifp->if_output(ifp, m, &sa, NULL); } #ifdef NFSCLIENT |