Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/netbsd-7]: src/sbin/ifconfig Pull up following revision(s) (requested by...



details:   https://anonhg.NetBSD.org/src/rev/ce8fced0b415
branches:  netbsd-7
changeset: 798883:ce8fced0b415
user:      martin <martin%NetBSD.org@localhost>
date:      Fri Jan 23 09:37:23 2015 +0000

description:
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

diffstat:

 sbin/ifconfig/af_inet6.c |  8 ++++++--
 1 files changed, 6 insertions(+), 2 deletions(-)

diffs (29 lines):

diff -r fba6ee2873c6 -r ce8fced0b415 sbin/ifconfig/af_inet6.c
--- a/sbin/ifconfig/af_inet6.c  Fri Jan 23 09:27:15 2015 +0000
+++ b/sbin/ifconfig/af_inet6.c  Fri Jan 23 09:37:23 2015 +0000
@@ -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 @@
                        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)



Home | Main Index | Thread Index | Old Index