show IPv6 interface address status "deprecated" (preferred lifetime = 0).
RFC2462. sync with kame.
This commit is contained in:
parent
232e2c5ef9
commit
374c623f95
@ -1,4 +1,4 @@
|
|||||||
/* $NetBSD: ifconfig.c,v 1.90 2000/10/02 22:30:40 thorpej Exp $ */
|
/* $NetBSD: ifconfig.c,v 1.91 2000/11/07 14:47:59 itojun Exp $ */
|
||||||
|
|
||||||
/*-
|
/*-
|
||||||
* Copyright (c) 1997, 1998, 2000 The NetBSD Foundation, Inc.
|
* Copyright (c) 1997, 1998, 2000 The NetBSD Foundation, Inc.
|
||||||
@ -80,7 +80,7 @@ __COPYRIGHT("@(#) Copyright (c) 1983, 1993\n\
|
|||||||
#if 0
|
#if 0
|
||||||
static char sccsid[] = "@(#)ifconfig.c 8.2 (Berkeley) 2/16/94";
|
static char sccsid[] = "@(#)ifconfig.c 8.2 (Berkeley) 2/16/94";
|
||||||
#else
|
#else
|
||||||
__RCSID("$NetBSD: ifconfig.c,v 1.90 2000/10/02 22:30:40 thorpej Exp $");
|
__RCSID("$NetBSD: ifconfig.c,v 1.91 2000/11/07 14:47:59 itojun Exp $");
|
||||||
#endif
|
#endif
|
||||||
#endif /* not lint */
|
#endif /* not lint */
|
||||||
|
|
||||||
@ -2234,6 +2234,8 @@ in6_alias(creq)
|
|||||||
printf(" duplicated");
|
printf(" duplicated");
|
||||||
if (ifr6.ifr_ifru.ifru_flags6 & IN6_IFF_DETACHED)
|
if (ifr6.ifr_ifru.ifru_flags6 & IN6_IFF_DETACHED)
|
||||||
printf(" detached");
|
printf(" detached");
|
||||||
|
if (ifr6.ifr_ifru.ifru_flags6 & IN6_IFF_DEPRECATED)
|
||||||
|
printf(" deprecated");
|
||||||
}
|
}
|
||||||
|
|
||||||
if (scopeid)
|
if (scopeid)
|
||||||
|
Loading…
Reference in New Issue
Block a user