summaryrefslogtreecommitdiff
path: root/sys/netinet
diff options
context:
space:
mode:
authorMartin Pieuchot <mpi@cvs.openbsd.org>2018-01-16 10:33:56 +0000
committerMartin Pieuchot <mpi@cvs.openbsd.org>2018-01-16 10:33:56 +0000
commit269abdb3e0e6fea77ac88f998e996faaed3b0c09 (patch)
treeaca4f25ed044c7376be70921170f4c03e10c7f24 /sys/netinet
parent37c0aba99ae2bcea45bbba1cb859aff8933ba827 (diff)
Recycle IFF_NOTRAILERS into IFF_STATICARP and document ownerhsip
of IFF* flags. inputs from jmc@, ok bluhm@, visa@
Diffstat (limited to 'sys/netinet')
-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 ef28b67808e..d4c733daeef 100644
--- a/sys/netinet/if_ether.c
+++ b/sys/netinet/if_ether.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_ether.c,v 1.232 2018/01/15 13:48:31 bluhm Exp $ */
+/* $OpenBSD: if_ether.c,v 1.233 2018/01/16 10:33:55 mpi Exp $ */
/* $NetBSD: if_ether.c,v 1.31 1996/05/11 12:59:58 mycroft Exp $ */
/*
@@ -356,7 +356,7 @@ arpresolve(struct ifnet *ifp, struct rtentry *rt0, struct mbuf *m,
return (0);
}
- if (ifp->if_flags & IFF_NOARP)
+ if (ifp->if_flags & (IFF_NOARP|IFF_STATICARP))
goto bad;
/*