diff options
author | Henning Brauer <henning@cvs.openbsd.org> | 2005-06-06 03:44:22 +0000 |
---|---|---|
committer | Henning Brauer <henning@cvs.openbsd.org> | 2005-06-06 03:44:22 +0000 |
commit | 42ba9223f73995359f5c72a8206c6ad5b2235895 (patch) | |
tree | e61e7f6ee3cfcd5daf74702a28f1c35c9f4315fe /sys/net/if.h | |
parent | cfc46b08f15b5103c1172bd42c8d57fcfcadde63 (diff) |
use a define instead of hardcoding "all" in 3 places
Diffstat (limited to 'sys/net/if.h')
-rw-r--r-- | sys/net/if.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/net/if.h b/sys/net/if.h index 6b69d4cfa73..96a8f974b7e 100644 --- a/sys/net/if.h +++ b/sys/net/if.h @@ -1,4 +1,4 @@ -/* $OpenBSD: if.h,v 1.71 2005/06/05 20:49:25 henning Exp $ */ +/* $OpenBSD: if.h,v 1.72 2005/06/06 03:44:21 henning Exp $ */ /* $NetBSD: if.h,v 1.23 1996/05/07 02:40:27 thorpej Exp $ */ /* @@ -424,6 +424,9 @@ struct if_announcemsghdr { /* * interface groups */ + +#define IFG_ALL "all" /* group containing all interfaces */ + struct ifg_group { char ifg_group[IFNAMSIZ]; u_int ifg_refcnt; |