[git commit] ip: print dadfailed flag
Denys Vlasenko
vda.linux at googlemail.com
Fri Jan 4 18:00:23 UTC 2019
commit: https://git.busybox.net/busybox/commit/?id=1c952ba2060780fce830d427420b9d819f08880e
branch: https://git.busybox.net/busybox/commit/?id=refs/heads/master
Signed-off-by: Kaarle Ritvanen <kaarle.ritvanen at datakunkku.fi>
Signed-off-by: Denys Vlasenko <vda.linux at googlemail.com>
---
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 ");
More information about the busybox-cvs
mailing list