Module Name: src Committed By: roy Date: Tue Jan 20 22:13:19 UTC 2015
Modified Files: src/sbin/ifconfig: af_inet6.c Log Message: Display the IPv6 address flags autoconf and temporary To generate a diff of this commit: cvs rdiff -u -r1.30 -r1.31 src/sbin/ifconfig/af_inet6.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sbin/ifconfig/af_inet6.c diff -u src/sbin/ifconfig/af_inet6.c:1.30 src/sbin/ifconfig/af_inet6.c:1.31 --- src/sbin/ifconfig/af_inet6.c:1.30 Mon Oct 20 14:50:09 2014 +++ src/sbin/ifconfig/af_inet6.c Tue Jan 20 22:13:19 2015 @@ -1,4 +1,4 @@ -/* $NetBSD: af_inet6.c,v 1.30 2014/10/20 14:50:09 roy Exp $ */ +/* $NetBSD: af_inet6.c,v 1.31 2015/01/20 22:13:19 roy Exp $ */ /* * Copyright (c) 1983, 1993 @@ -31,7 +31,7 @@ #include <sys/cdefs.h> #ifndef lint -__RCSID("$NetBSD: af_inet6.c,v 1.30 2014/10/20 14:50:09 roy Exp $"); +__RCSID("$NetBSD: af_inet6.c,v 1.31 2015/01/20 22:13:19 roy Exp $"); #endif /* not lint */ #include <sys/param.h> @@ -330,6 +330,10 @@ in6_alias(const char *ifname, prop_dicti 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 (ifr6.ifr_ifru.ifru_flags6 & IN6_IFF_TEMPORARY) + printf(" temporary"); } if (scopeid)