aboutsummaryrefslogtreecommitdiffstats
path: root/main/busybox/0015-ip-print-dadfailed-flag.patch
diff options
context:
space:
mode:
authorKaarle Ritvanen <kaarle.ritvanen@datakunkku.fi>2018-12-31 19:48:58 +0200
committerKaarle Ritvanen <kaarle.ritvanen@datakunkku.fi>2018-12-31 19:50:15 +0200
commit7e42b775063cedb30f5935ba01a606fca119cb51 (patch)
tree4afceb116983c6a1ec7a55f4bf2eb240ab5769ce /main/busybox/0015-ip-print-dadfailed-flag.patch
parent40430505ce0c33401bb5a22d73b70930a6405b77 (diff)
downloadaports-7e42b775063cedb30f5935ba01a606fca119cb51.tar.gz
aports-7e42b775063cedb30f5935ba01a606fca119cb51.tar.bz2
aports-7e42b775063cedb30f5935ba01a606fca119cb51.tar.xz
main/busybox: ip: print dadfailed flag
fixes dad.if-up getting stuck
Diffstat (limited to 'main/busybox/0015-ip-print-dadfailed-flag.patch')
-rw-r--r--main/busybox/0015-ip-print-dadfailed-flag.patch28
1 files changed, 28 insertions, 0 deletions
diff --git a/main/busybox/0015-ip-print-dadfailed-flag.patch b/main/busybox/0015-ip-print-dadfailed-flag.patch
new file mode 100644
index 0000000000..96c26bb04e
--- /dev/null
+++ b/main/busybox/0015-ip-print-dadfailed-flag.patch
@@ -0,0 +1,28 @@
+From a8c618c63e88064ae07d34f3c92469624e097376 Mon Sep 17 00:00:00 2001
+From: Kaarle Ritvanen <kaarle.ritvanen@datakunkku.fi>
+Date: Mon, 31 Dec 2018 19:32:21 +0200
+Subject: [PATCH] ip: print dadfailed flag
+
+Signed-off-by: Kaarle Ritvanen <kaarle.ritvanen@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
+