diff options
author | Martin Pieuchot <mpi@cvs.openbsd.org> | 2018-01-16 10:33:56 +0000 |
---|---|---|
committer | Martin Pieuchot <mpi@cvs.openbsd.org> | 2018-01-16 10:33:56 +0000 |
commit | 269abdb3e0e6fea77ac88f998e996faaed3b0c09 (patch) | |
tree | aca4f25ed044c7376be70921170f4c03e10c7f24 /sys/netinet | |
parent | 37c0aba99ae2bcea45bbba1cb859aff8933ba827 (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.c | 4 |
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; /* |