[PATCH] ip: print dadfailed flag
Kaarle Ritvanen
kaarle.ritvanen at datakunkku.fi
Mon Dec 31 17:52:32 UTC 2018
Signed-off-by: Kaarle Ritvanen <kaarle.ritvanen at datakunkku.fi>
---
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 ");
--
2.20.1
More information about the busybox
mailing list