summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorHenning Brauer <henning@cvs.openbsd.org>2005-05-26 03:12:00 +0000
committerHenning Brauer <henning@cvs.openbsd.org>2005-05-26 03:12:00 +0000
commit30d00e3465e7efbaba5afdefd34c72c1d08212be (patch)
tree3cd12cbc797f41eecd161154bd2387baec61cd67 /sys
parent8fb580b7f581acf1fe452d19558b0ca8bb50fa20 (diff)
remove the interface family group (i. e. "em" for "em0")
I foudn this stupid from the beginning on :) talked about and agreed with ryan and theo on the hike
Diffstat (limited to 'sys')
-rw-r--r--sys/net/if.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/sys/net/if.c b/sys/net/if.c
index d9ff32eac9e..0c8e03a682a 100644
--- a/sys/net/if.c
+++ b/sys/net/if.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if.c,v 1.119 2005/05/25 06:50:05 henning Exp $ */
+/* $OpenBSD: if.c,v 1.120 2005/05/26 03:11:59 henning Exp $ */
/* $NetBSD: if.c,v 1.35 1996/05/07 05:26:04 thorpej Exp $ */
/*
@@ -250,11 +250,6 @@ if_attachsetup(struct ifnet *ifp)
TAILQ_INIT(&ifp->if_groups);
- /* add the interface family group */
- for (n = 0; ifp->if_xname[n] < '0' || ifp->if_xname[n] > '9'; n++)
- continue;
- strlcpy(ifgroup, ifp->if_xname, n + 1);
- if_addgroup(ifp, ifgroup);
if_addgroup(ifp, "all");
ifindex2ifnet[if_index] = ifp;