summaryrefslogtreecommitdiff
path: root/sys/net/if.c
diff options
context:
space:
mode:
authorHenning Brauer <henning@cvs.openbsd.org>2005-06-06 03:44:22 +0000
committerHenning Brauer <henning@cvs.openbsd.org>2005-06-06 03:44:22 +0000
commit42ba9223f73995359f5c72a8206c6ad5b2235895 (patch)
treee61e7f6ee3cfcd5daf74702a28f1c35c9f4315fe /sys/net/if.c
parentcfc46b08f15b5103c1172bd42c8d57fcfcadde63 (diff)
use a define instead of hardcoding "all" in 3 places
Diffstat (limited to 'sys/net/if.c')
-rw-r--r--sys/net/if.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/net/if.c b/sys/net/if.c
index 8df2777fa5c..75cfe0d3703 100644
--- a/sys/net/if.c
+++ b/sys/net/if.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if.c,v 1.125 2005/06/06 03:05:05 henning Exp $ */
+/* $OpenBSD: if.c,v 1.126 2005/06/06 03:44:21 henning Exp $ */
/* $NetBSD: if.c,v 1.35 1996/05/07 05:26:04 thorpej Exp $ */
/*
@@ -248,7 +248,7 @@ if_attachsetup(struct ifnet *ifp)
TAILQ_INIT(&ifp->if_groups);
- if_addgroup(ifp, "all");
+ if_addgroup(ifp, IFG_ALL);
ifindex2ifnet[if_index] = ifp;