summaryrefslogtreecommitdiff
path: root/sys/net
diff options
context:
space:
mode:
authorHenning Brauer <henning@cvs.openbsd.org>2005-06-12 06:23:44 +0000
committerHenning Brauer <henning@cvs.openbsd.org>2005-06-12 06:23:44 +0000
commit3ef41b16820db78a169002fff509119c7ee9250e (patch)
tree0acb03c2317af46118539ef6dfa6103b0625574d /sys/net
parent8be108024f55db965a2152da04f75c2a4b91c2df (diff)
lo0 is special, attaches early an different than the other loopback interfaces
needs special treatment to join the lo group, ryan ok
Diffstat (limited to 'sys/net')
-rw-r--r--sys/net/if_loop.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/net/if_loop.c b/sys/net/if_loop.c
index c2f77ad859c..dc51a28c9b5 100644
--- a/sys/net/if_loop.c
+++ b/sys/net/if_loop.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_loop.c,v 1.34 2005/06/08 06:35:04 henning Exp $ */
+/* $OpenBSD: if_loop.c,v 1.35 2005/06/12 06:23:43 henning Exp $ */
/* $NetBSD: if_loop.c,v 1.15 1996/05/07 02:40:33 thorpej Exp $ */
/*
@@ -206,6 +206,7 @@ loop_clone_create(ifc, unit)
if (unit == 0) {
lo0ifp = ifp;
if_attachhead(ifp);
+ if_addgroup(lo0ifp, ifc->ifc_name);
} else
if_attach(ifp);
if_alloc_sadl(ifp);