svn commit: r451045 - in head/net/quagga: . files
Kurt Jaeger
pi at FreeBSD.org
Sun Oct 1 13:29:04 UTC 2017
Author: pi
Date: Sun Oct 1 13:29:03 2017
New Revision: 451045
URL: https://svnweb.freebsd.org/changeset/ports/451045
Log:
net/quagga: bgpd: multi-segment AS_PATH UPDATE message length calculation fix
See
https://lists.quagga.net/pipermail/quagga-dev/2017-September/033284.html
for the source of this patch.
Submitted by: Andreas Jaggi <aj at open.ch>
Added:
head/net/quagga/files/patch-bgpd__bgp_aspath.c (contents, props changed)
Modified:
head/net/quagga/Makefile
Modified: head/net/quagga/Makefile
==============================================================================
--- head/net/quagga/Makefile Sun Oct 1 12:58:11 2017 (r451044)
+++ head/net/quagga/Makefile Sun Oct 1 13:29:03 2017 (r451045)
@@ -3,7 +3,7 @@
PORTNAME= quagga
PORTVERSION= 1.2.1
-PORTREVISION= 3
+PORTREVISION= 4
CATEGORIES= net ipv6
MASTER_SITES= SAVANNAH
Added: head/net/quagga/files/patch-bgpd__bgp_aspath.c
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/net/quagga/files/patch-bgpd__bgp_aspath.c Sun Oct 1 13:29:03 2017 (r451045)
@@ -0,0 +1,11 @@
+--- bgpd/bgp_aspath.c.orig 2017-03-10 12:55:06 UTC
++++ bgpd/bgp_aspath.c
+@@ -903,7 +903,7 @@ aspath_put (struct stream *s, struct aspath *as, int u
+ 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 */
More information about the svn-ports-head
mailing list