From 1c952ba2060780fce830d427420b9d819f08880e Mon Sep 17 00:00:00 2001 From: Kaarle Ritvanen Date: Mon, 31 Dec 2018 19:52:32 +0200 Subject: ip: print dadfailed flag Signed-off-by: Kaarle Ritvanen Signed-off-by: Denys Vlasenko --- networking/libiproute/ipaddress.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/networking/libiproute/ipaddress.c b/networking/libiproute/ipaddress.c index 9ec665b69..d088caf4c 100644 --- a/networking/libiproute/ipaddress.c +++ b/networking/libiproute/ipaddress.c @@ -327,6 +327,10 @@ static int FAST_FUNC print_addrinfo(const struct sockaddr_nl *who UNUSED_PARAM, ifa->ifa_flags &= ~IFA_F_TENTATIVE; printf("tentative "); } + if (ifa->ifa_flags & IFA_F_DADFAILED) { + ifa->ifa_flags &= ~IFA_F_DADFAILED; + printf("dadfailed "); + } if (ifa->ifa_flags & IFA_F_DEPRECATED) { ifa->ifa_flags &= ~IFA_F_DEPRECATED; printf("deprecated "); -- cgit v1.2.3