From: florian Date: Mon, 29 May 2017 20:28:57 +0000 (+0000) Subject: Allow passing in IN6_IFF_AUTOCONF from userland. Needed by slaacd(8) X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=a27f57376c094539ee43669c84b6a3c222ffa3c2;p=openbsd Allow passing in IN6_IFF_AUTOCONF from userland. Needed by slaacd(8) OK naddy --- 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); }