diff options
author | Florian Obser <florian@cvs.openbsd.org> | 2017-05-29 20:28:58 +0000 |
---|---|---|
committer | Florian Obser <florian@cvs.openbsd.org> | 2017-05-29 20:28:58 +0000 |
commit | 27275ccdec068a6aedae3b2f2a51871093bd6e0d (patch) | |
tree | a35684ec40795a49110f4a70e79c54d0d4ff3b9f /sys | |
parent | 03e258096672a4e827e6135b4c1f3ff27368dac1 (diff) |
Allow passing in IN6_IFF_AUTOCONF from userland. Needed by slaacd(8)
OK naddy
Diffstat (limited to 'sys')
-rw-r--r-- | sys/netinet6/in6.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/sys/netinet6/in6.c b/sys/netinet6/in6.c index a378671a8bb..8b619f6a78e 100644 --- a/sys/netinet6/in6.c +++ b/sys/netinet6/in6.c @@ -1,4 +1,4 @@ -/* $OpenBSD: in6.c,v 1.205 2017/05/16 12:24:02 mpi Exp $ */ +/* $OpenBSD: in6.c,v 1.206 2017/05/29 20:28:57 florian Exp $ */ /* $KAME: in6.c,v 1.372 2004/06/14 08:14:21 itojun Exp $ */ /* @@ -407,8 +407,7 @@ in6_ioctl(u_long cmd, caddr_t data, struct ifnet *ifp, int privileged) /* reject read-only flags */ if ((ifra->ifra_flags & IN6_IFF_DUPLICATED) != 0 || (ifra->ifra_flags & IN6_IFF_DETACHED) != 0 || - (ifra->ifra_flags & IN6_IFF_DEPRECATED) != 0 || - (ifra->ifra_flags & IN6_IFF_AUTOCONF) != 0) { + (ifra->ifra_flags & IN6_IFF_DEPRECATED) != 0) { return (EINVAL); } |