From 50b37970349bacd5fa5a00b6410e893d00ccf126 Mon Sep 17 00:00:00 2001 From: MilhouseVH Date: Sun, 7 Aug 2016 22:30:08 +0100 Subject: [PATCH] busybox: Default to UNIVERSE scope, fixes 9141 --- ...4-default-to-universe-scope-fix-9141.patch | 28 +++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 packages/sysutils/busybox/patches/busybox-04-default-to-universe-scope-fix-9141.patch diff --git a/packages/sysutils/busybox/patches/busybox-04-default-to-universe-scope-fix-9141.patch b/packages/sysutils/busybox/patches/busybox-04-default-to-universe-scope-fix-9141.patch new file mode 100644 index 0000000000..746a514d67 --- /dev/null +++ b/packages/sysutils/busybox/patches/busybox-04-default-to-universe-scope-fix-9141.patch @@ -0,0 +1,28 @@ +From d4bdbe4f63e57a1a0954dd35c71bbef56dda8f50 Mon Sep 17 00:00:00 2001 +From: MilhouseVH +Date: Sat, 6 Aug 2016 19:41:06 +0100 +Subject: [PATCH] iproute: scope is left undefined if not passed on command + line - default to UNIVERSE + +See https://bugs.busybox.net/show_bug.cgi?id=9141 +--- + networking/libiproute/iproute.c | 3 +-- + 1 file changed, 1 insertion(+), 2 deletions(-) + +diff --git a/networking/libiproute/iproute.c b/networking/libiproute/iproute.c +index e674e9a..2b430a4 100644 +--- a/networking/libiproute/iproute.c ++++ b/networking/libiproute/iproute.c +@@ -364,8 +364,7 @@ IF_FEATURE_IP_RULE(ARG_table,) + if (cmd != RTM_DELROUTE) { + if (RTPROT_BOOT != 0) + req.r.rtm_protocol = RTPROT_BOOT; +- if (RT_SCOPE_UNIVERSE != 0) +- req.r.rtm_scope = RT_SCOPE_UNIVERSE; ++ req.r.rtm_scope = RT_SCOPE_UNIVERSE; + if (RTN_UNICAST != 0) + req.r.rtm_type = RTN_UNICAST; + } +-- +2.7.4 +