summaryrefslogtreecommitdiff
path: root/sbin/ifconfig/ifconfig.c
diff options
context:
space:
mode:
authorMarkus Friedl <markus@cvs.openbsd.org>2008-05-06 12:13:58 +0000
committerMarkus Friedl <markus@cvs.openbsd.org>2008-05-06 12:13:58 +0000
commita78b45bde2d7caf7dddc15552a1e367012780cd1 (patch)
tree31a6f831f4ca348abfd2d5417ae63666e29a3c0d /sbin/ifconfig/ifconfig.c
parent5ca2e72918646d0769d7a4b794988c024259cd89 (diff)
print IN6_IFF_AUTOCONF flag, too; ok henning some time ago
Diffstat (limited to 'sbin/ifconfig/ifconfig.c')
-rw-r--r--sbin/ifconfig/ifconfig.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/sbin/ifconfig/ifconfig.c b/sbin/ifconfig/ifconfig.c
index 24eeeb031ae..fd2275ba186 100644
--- a/sbin/ifconfig/ifconfig.c
+++ b/sbin/ifconfig/ifconfig.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ifconfig.c,v 1.195 2008/04/16 18:32:15 damien Exp $ */
+/* $OpenBSD: ifconfig.c,v 1.196 2008/05/06 12:13:57 markus Exp $ */
/* $NetBSD: ifconfig.c,v 1.40 1997/10/01 02:19:43 enami Exp $ */
/*
@@ -2818,6 +2818,8 @@ in6_alias(struct in6_ifreq *creq)
printf(" detached");
if (ifr6.ifr_ifru.ifru_flags6 & IN6_IFF_DEPRECATED)
printf(" deprecated");
+ if (ifr6.ifr_ifru.ifru_flags6 & IN6_IFF_AUTOCONF)
+ printf(" autoconf");
}
if (scopeid)