summaryrefslogtreecommitdiffstats
path: root/package/quagga/0004-bgpd-Fix-AS_PATH-size-calculation-for-long-paths.patch
diff options
context:
space:
mode:
authorFabrice Fontaine <fontaine.fabrice@gmail.com>2018-12-01 21:40:47 +0100
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>2018-12-01 22:47:01 +0100
commit3ab5fd69bcfc942d307dc7330aa9c8b9afc5b13d (patch)
tree8ec0b045ae92780861a3d1182b647e57bc014e1d /package/quagga/0004-bgpd-Fix-AS_PATH-size-calculation-for-long-paths.patch
parenta6dc02327a5088c89413174b90d562ef1ca345ca (diff)
downloadbuildroot-3ab5fd69bcfc942d307dc7330aa9c8b9afc5b13d.tar.gz
buildroot-3ab5fd69bcfc942d307dc7330aa9c8b9afc5b13d.zip
package/quagga: bump to version 1.2.3
- Remove all patches except the first one as they are already in this version - Remove AUTORECONF = YES as we're not patching any *.ac files anymore - Disable new nhrpd option - Add hash for license file Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Diffstat (limited to 'package/quagga/0004-bgpd-Fix-AS_PATH-size-calculation-for-long-paths.patch')
-rw-r--r--package/quagga/0004-bgpd-Fix-AS_PATH-size-calculation-for-long-paths.patch33
1 files changed, 0 insertions, 33 deletions
diff --git a/package/quagga/0004-bgpd-Fix-AS_PATH-size-calculation-for-long-paths.patch b/package/quagga/0004-bgpd-Fix-AS_PATH-size-calculation-for-long-paths.patch
deleted file mode 100644
index 1425cf0426..0000000000
--- a/package/quagga/0004-bgpd-Fix-AS_PATH-size-calculation-for-long-paths.patch
+++ /dev/null
@@ -1,33 +0,0 @@
-From 7a42b78be9a4108d98833069a88e6fddb9285008 Mon Sep 17 00:00:00 2001
-From: Andreas Jaggi <aj@open.ch>
-Date: Mon, 2 Oct 2017 19:38:43 +0530
-Subject: [PATCH] bgpd: Fix AS_PATH size calculation for long paths
-
-If you have an AS_PATH with more entries than
-what can be written into a single AS_SEGMENT_MAX
-it needs to be broken up. The code that noticed
-that the AS_PATH needs to be broken up was not
-correctly calculating the size of the resulting
-message. This patch addresses this issue.
-
-Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
----
- bgpd/bgp_aspath.c | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/bgpd/bgp_aspath.c b/bgpd/bgp_aspath.c
-index b7af5e88..d813bfba 100644
---- a/bgpd/bgp_aspath.c
-+++ b/bgpd/bgp_aspath.c
-@@ -903,7 +903,7 @@ aspath_put (struct stream *s, struct aspath *as, int use32bit )
- assegment_header_put (s, seg->type, AS_SEGMENT_MAX);
- assegment_data_put (s, seg->as, AS_SEGMENT_MAX, use32bit);
- written += AS_SEGMENT_MAX;
-- bytes += ASSEGMENT_SIZE (written, use32bit);
-+ bytes += ASSEGMENT_SIZE (AS_SEGMENT_MAX, use32bit);
- }
-
- /* write the final segment, probably is also the first */
---
-2.11.0
-
OpenPOWER on IntegriCloud