From 31078dbc763c27d9d25aac9fb08eb39da7752c87 Mon Sep 17 00:00:00 2001 From: Deng Qingfang Date: Wed, 20 Mar 2019 16:05:14 +0800 Subject: iproute2: update to 5.0.0 Update iproute2 to 5.0.0 Remove upstream patch 001-tc-fix-undefined-XATTR_SIZE_MAX Alter patch 170-ip_tiny as support for IPX and DECnet is dropped Update patch 010-cake-fwmark to match upstream commit Signed-off-by: Deng Qingfang --- .../network/utils/iproute2/patches/170-ip_tiny.patch | 20 +------------------- 1 file changed, 1 insertion(+), 19 deletions(-) (limited to 'package/network/utils/iproute2/patches/170-ip_tiny.patch') diff --git a/package/network/utils/iproute2/patches/170-ip_tiny.patch b/package/network/utils/iproute2/patches/170-ip_tiny.patch index 91240b6d2f..fb5a6466e4 100644 --- a/package/network/utils/iproute2/patches/170-ip_tiny.patch +++ b/package/network/utils/iproute2/patches/170-ip_tiny.patch @@ -41,7 +41,7 @@ +#endif " OPTIONS := { -V[ersion] | -s[tatistics] | -d[etails] | -r[esolve] |\n" " -h[uman-readable] | -iec | -j[son] | -p[retty] |\n" - " -f[amily] { inet | inet6 | ipx | dnet | mpls | bridge | link } |\n" + " -f[amily] { inet | inet6 | mpls | bridge | link } |\n" @@ -72,32 +78,44 @@ static const struct cmd { int (*func)(int argc, char **argv); } cmds[] = { @@ -87,24 +87,6 @@ { "vrf", do_ipvrf}, { "sr", do_seg6 }, { "help", do_help }, ---- a/lib/utils.c -+++ b/lib/utils.c -@@ -1000,6 +1000,7 @@ const char *rt_addr_n2a_r(int af, int le - return inet_ntop(af, addr, buf, buflen); - case AF_MPLS: - return mpls_ntop(af, addr, buf, buflen); -+#ifndef IPROUTE2_TINY - case AF_IPX: - return ipx_ntop(af, addr, buf, buflen); - case AF_DECnet: -@@ -1009,6 +1010,7 @@ const char *rt_addr_n2a_r(int af, int le - memcpy(dna.a_addr, addr, 2); - return dnet_ntop(af, &dna, buf, buflen); - } -+#endif - case AF_PACKET: - return ll_addr_n2a(addr, len, ARPHRD_VOID, buf, buflen); - case AF_BRIDGE: --- a/lib/Makefile +++ b/lib/Makefile @@ -3,6 +3,10 @@ include ../config.mk -- cgit v1.2.3