Module Name: src
Committed By: martin
Date: Fri Jan 23 09:37:23 UTC 2015
Modified Files:
src/sbin/ifconfig [netbsd-7]: af_inet6.c
Log Message:
Pull up following revision(s) (requested by pettai in ticket #442):
sbin/ifconfig/af_inet6.c: revision 1.31
Display the IPv6 address flags autoconf and temporary
To generate a diff of this commit:
cvs rdiff -u -r1.29.4.1 -r1.29.4.2 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.29.4.1 src/sbin/ifconfig/af_inet6.c:1.29.4.2
--- src/sbin/ifconfig/af_inet6.c:1.29.4.1 Mon Oct 27 13:42:37 2014
+++ src/sbin/ifconfig/af_inet6.c Fri Jan 23 09:37:23 2015
@@ -1,4 +1,4 @@
-/* $NetBSD: af_inet6.c,v 1.29.4.1 2014/10/27 13:42:37 martin Exp $ */
+/* $NetBSD: af_inet6.c,v 1.29.4.2 2015/01/23 09:37:23 martin Exp $ */
/*
* Copyright (c) 1983, 1993
@@ -31,7 +31,7 @@
#include <sys/cdefs.h>
#ifndef lint
-__RCSID("$NetBSD: af_inet6.c,v 1.29.4.1 2014/10/27 13:42:37 martin Exp $");
+__RCSID("$NetBSD: af_inet6.c,v 1.29.4.2 2015/01/23 09:37:23 martin 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)