summaryrefslogtreecommitdiff
path: root/sys/netinet/if_ether.c
diff options
context:
space:
mode:
authorMartin Pieuchot <mpi@cvs.openbsd.org>2017-07-28 09:01:10 +0000
committerMartin Pieuchot <mpi@cvs.openbsd.org>2017-07-28 09:01:10 +0000
commitb97af349e824cbbd4816ec4716a60825891eafae (patch)
tree78a836cfb2f7983b461e10033958d6791c3b5527 /sys/netinet/if_ether.c
parent2f27f1f1e864032ed15dc0fd9fe45906e7ab148d (diff)
Add an error argument to rtm_send() instead of rerolling it inside
rtdeletemsg(). ok bluhm@
Diffstat (limited to 'sys/netinet/if_ether.c')
-rw-r--r--sys/netinet/if_ether.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/netinet/if_ether.c b/sys/netinet/if_ether.c
index 3338ace2558..49e5d84f525 100644
--- a/sys/netinet/if_ether.c
+++ b/sys/netinet/if_ether.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_ether.c,v 1.228 2017/03/06 08:56:39 mpi Exp $ */
+/* $OpenBSD: if_ether.c,v 1.229 2017/07/28 09:01:09 mpi Exp $ */
/* $NetBSD: if_ether.c,v 1.31 1996/05/11 12:59:58 mycroft Exp $ */
/*
@@ -650,7 +650,7 @@ arpcache(struct ifnet *ifp, struct ether_arp *ea, struct rtentry *rt)
/* Notify userland that an ARP resolution has been done. */
if (la->la_asked || changed) {
KERNEL_LOCK();
- rtm_send(rt, RTM_RESOLVE, ifp->if_rdomain);
+ rtm_send(rt, RTM_RESOLVE, 0, ifp->if_rdomain);
KERNEL_UNLOCK();
}