diff options
author | Claudio Jeker <claudio@cvs.openbsd.org> | 2018-03-02 15:52:12 +0000 |
---|---|---|
committer | Claudio Jeker <claudio@cvs.openbsd.org> | 2018-03-02 15:52:12 +0000 |
commit | 0f65428e15f33bb9c4af06ac8d0587ae08968106 (patch) | |
tree | 72c769bf2ba6a20e9903fb577d1c5506ebaf0232 /sys/net/if.c | |
parent | c90c7a27efbd87af8f92bfc72e1c9e991c7020af (diff) |
Revert all the bits of the autocreate 127.0.0.1 on lo(4) creation for now.
This needs to go back to the drawing board.
Diffstat (limited to 'sys/net/if.c')
-rw-r--r-- | sys/net/if.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/sys/net/if.c b/sys/net/if.c index 40ca01716dc..7243b7be4d9 100644 --- a/sys/net/if.c +++ b/sys/net/if.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if.c,v 1.547 2018/02/20 03:46:45 dlg Exp $ */ +/* $OpenBSD: if.c,v 1.548 2018/03/02 15:52:11 claudio Exp $ */ /* $NetBSD: if.c,v 1.35 1996/05/07 05:26:04 thorpej Exp $ */ /* @@ -1550,9 +1550,8 @@ if_up(struct ifnet *ifp) #ifdef INET6 /* Userland expects the kernel to set ::1 on default lo(4). */ - if (ifp->if_index == rtable_loindex(ifp->if_rdomain)) { + if (ifp->if_index == rtable_loindex(ifp->if_rdomain)) in6_ifattach(ifp); - } #endif if_linkstate(ifp); @@ -1745,7 +1744,6 @@ if_setrdomain(struct ifnet *ifp, int rdomain) } loifp->if_rdomain = rdomain; - if_up(loifp); } /* make sure that the routing table is a real rdomain */ |