diff options
author | Kaarle Ritvanen | 2018-12-31 19:52:32 +0200 |
---|---|---|
committer | Denys Vlasenko | 2019-01-04 19:00:23 +0100 |
commit | 1c952ba2060780fce830d427420b9d819f08880e (patch) | |
tree | 9aaa39209a7e0951cde477db01de9ac7757563b9 | |
parent | f83292cfc44da5bd218c2be0602c89afed9e0959 (diff) | |
download | busybox-1c952ba2060780fce830d427420b9d819f08880e.zip busybox-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>
-rw-r--r-- | networking/libiproute/ipaddress.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/networking/libiproute/ipaddress.c b/networking/libiproute/ipaddress.c index 9ec665b..d088caf 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 "); |