mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-24 11:16:51 +00:00
Merge pull request #615 from MilhouseVH/openvpn_fix
busybox: Default to UNIVERSE scope, fixes 9141
This commit is contained in:
commit
a54cd0710e
@ -0,0 +1,28 @@
|
||||
From d4bdbe4f63e57a1a0954dd35c71bbef56dda8f50 Mon Sep 17 00:00:00 2001
|
||||
From: MilhouseVH <milhouseVH.github@nmacleod.com>
|
||||
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
|
||||
|
Loading…
x
Reference in New Issue
Block a user