diff options
author | Kaarle Ritvanen <kaarle.ritvanen@datakunkku.fi> | 2018-12-31 19:52:32 +0200 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2019-01-04 19:00:23 +0100 |
commit | 1c952ba2060780fce830d427420b9d819f08880e (patch) | |
tree | 9aaa39209a7e0951cde477db01de9ac7757563b9 | |
parent | f83292cfc44da5bd218c2be0602c89afed9e0959 (diff) | |
download | busybox-w32-1c952ba2060780fce830d427420b9d819f08880e.tar.gz busybox-w32-1c952ba2060780fce830d427420b9d819f08880e.tar.bz2 busybox-w32-1c952ba2060780fce830d427420b9d819f08880e.zip |
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 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, | |||
327 | ifa->ifa_flags &= ~IFA_F_TENTATIVE; | 327 | ifa->ifa_flags &= ~IFA_F_TENTATIVE; |
328 | printf("tentative "); | 328 | printf("tentative "); |
329 | } | 329 | } |
330 | if (ifa->ifa_flags & IFA_F_DADFAILED) { | ||
331 | ifa->ifa_flags &= ~IFA_F_DADFAILED; | ||
332 | printf("dadfailed "); | ||
333 | } | ||
330 | if (ifa->ifa_flags & IFA_F_DEPRECATED) { | 334 | if (ifa->ifa_flags & IFA_F_DEPRECATED) { |
331 | ifa->ifa_flags &= ~IFA_F_DEPRECATED; | 335 | ifa->ifa_flags &= ~IFA_F_DEPRECATED; |
332 | printf("deprecated "); | 336 | printf("deprecated "); |