aboutsummaryrefslogtreecommitdiffstats
path: root/package/network/utils/iproute2/patches/180-drop_FAILED_POLICY.patch
diff options
context:
space:
mode:
authorDENG Qingfang <dengqf6@mail2.sysu.edu.cn>2019-09-26 08:13:14 +0800
committerHans Dedecker <dedeckeh@gmail.com>2019-09-28 21:26:53 +0200
commiteddbd68b6d3fa540b2c5e6c0027c08c9f186bfc1 (patch)
treee79ac3799066cd06cdccb41aecc2324b088d1d59 /package/network/utils/iproute2/patches/180-drop_FAILED_POLICY.patch
parent1fe1a200d9bbe83437b018757ad75364a6d89b37 (diff)
downloadupstream-eddbd68b6d3fa540b2c5e6c0027c08c9f186bfc1.tar.gz
upstream-eddbd68b6d3fa540b2c5e6c0027c08c9f186bfc1.tar.bz2
upstream-eddbd68b6d3fa540b2c5e6c0027c08c9f186bfc1.zip
iproute2: update to 5.3.0
Update iproute2 to 5.3.0 Signed-off-by: DENG Qingfang <dengqf6@mail2.sysu.edu.cn>
Diffstat (limited to 'package/network/utils/iproute2/patches/180-drop_FAILED_POLICY.patch')
-rw-r--r--package/network/utils/iproute2/patches/180-drop_FAILED_POLICY.patch6
1 files changed, 3 insertions, 3 deletions
diff --git a/package/network/utils/iproute2/patches/180-drop_FAILED_POLICY.patch b/package/network/utils/iproute2/patches/180-drop_FAILED_POLICY.patch
index 5de663f5c6..449d4512fe 100644
--- a/package/network/utils/iproute2/patches/180-drop_FAILED_POLICY.patch
+++ b/package/network/utils/iproute2/patches/180-drop_FAILED_POLICY.patch
@@ -11,7 +11,7 @@ Subject: [PATCH] add support for dropping with FAILED_POLICY
--- a/ip/rtm_map.c
+++ b/ip/rtm_map.c
-@@ -48,6 +48,8 @@ char *rtnl_rtntype_n2a(int id, char *buf
+@@ -54,6 +54,8 @@ char *rtnl_rtntype_n2a(int id, char *buf
return "nat";
case RTN_XRESOLVE:
return "xresolve";
@@ -20,7 +20,7 @@ Subject: [PATCH] add support for dropping with FAILED_POLICY
default:
snprintf(buf, len, "%d", id);
return buf;
-@@ -83,6 +85,8 @@ int rtnl_rtntype_a2n(int *id, char *arg)
+@@ -89,6 +91,8 @@ int rtnl_rtntype_a2n(int *id, char *arg)
res = RTN_UNICAST;
else if (strcmp(arg, "throw") == 0)
res = RTN_THROW;
@@ -31,7 +31,7 @@ Subject: [PATCH] add support for dropping with FAILED_POLICY
if (!end || end == arg || *end || res > 255)
--- a/include/uapi/linux/rtnetlink.h
+++ b/include/uapi/linux/rtnetlink.h
-@@ -228,6 +228,7 @@ enum {
+@@ -235,6 +235,7 @@ enum {
RTN_THROW, /* Not in this table */
RTN_NAT, /* Translate this address */
RTN_XRESOLVE, /* Use external resolver */