aboutsummaryrefslogtreecommitdiff
path: root/networking
diff options
context:
space:
mode:
authorKaarle Ritvanen <kaarle.ritvanen@datakunkku.fi>2018-12-31 19:52:32 +0200
committerDenys Vlasenko <vda.linux@googlemail.com>2019-01-04 19:00:23 +0100
commit1c952ba2060780fce830d427420b9d819f08880e (patch)
tree9aaa39209a7e0951cde477db01de9ac7757563b9 /networking
parentf83292cfc44da5bd218c2be0602c89afed9e0959 (diff)
downloadbusybox-1c952ba2060780fce830d427420b9d819f08880e.tar.gz
ip: print dadfailed flag
Signed-off-by: Kaarle Ritvanen <kaarle.ritvanen@datakunkku.fi> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'networking')
-rw-r--r--networking/libiproute/ipaddress.c4
1 files changed, 4 insertions, 0 deletions
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 ");