diff options
author | Florian Obser <florian@cvs.openbsd.org> | 2017-07-11 12:51:06 +0000 |
---|---|---|
committer | Florian Obser <florian@cvs.openbsd.org> | 2017-07-11 12:51:06 +0000 |
commit | 49b0f25f5168d10fa964caf82615bda8dccabb03 (patch) | |
tree | 56b7a55f4bba74d687b994ab524f16e8383c3dab /sys/net | |
parent | c875b067af8c2974deb49835eb4ac0db8f4ccc4d (diff) |
Purging is at last at hand. Day of Doom is here. All that is evil
shall all be cleansed.
Remove sending of router solicitations and processing of router
advertisements from the kernel. It's handled by slaacd(8) these days.
Input & OK bluhm@, mpi@
Diffstat (limited to 'sys/net')
-rw-r--r-- | sys/net/if.c | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/sys/net/if.c b/sys/net/if.c index 6354484e477..7477fa5606a 100644 --- a/sys/net/if.c +++ b/sys/net/if.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if.c,v 1.504 2017/06/23 11:18:12 bluhm Exp $ */ +/* $OpenBSD: if.c,v 1.505 2017/07/11 12:51:05 florian Exp $ */ /* $NetBSD: if.c,v 1.35 1996/05/07 05:26:04 thorpej Exp $ */ /* @@ -1952,16 +1952,6 @@ ifioctl(struct socket *so, u_long cmd, caddr_t data, struct proc *p) if (error != 0) return (error); } - - if ((ifr->ifr_flags & IFXF_AUTOCONF6) && - !(ifp->if_xflags & IFXF_AUTOCONF6)) { - nd6_rs_attach(ifp); - } - - if ((ifp->if_xflags & IFXF_AUTOCONF6) && - !(ifr->ifr_flags & IFXF_AUTOCONF6)) { - nd6_rs_detach(ifp); - } #endif /* INET6 */ #ifdef MPLS |