From owner-svn-ports-all@freebsd.org Sun Oct 1 13:29:04 2017 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 6BDF9E24D0C; Sun, 1 Oct 2017 13:29:04 +0000 (UTC) (envelope-from pi@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 381F2E28; Sun, 1 Oct 2017 13:29:04 +0000 (UTC) (envelope-from pi@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id v91DT3Z8054576; Sun, 1 Oct 2017 13:29:03 GMT (envelope-from pi@FreeBSD.org) Received: (from pi@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id v91DT3kL054574; Sun, 1 Oct 2017 13:29:03 GMT (envelope-from pi@FreeBSD.org) Message-Id: <201710011329.v91DT3kL054574@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: pi set sender to pi@FreeBSD.org using -f From: Kurt Jaeger Date: Sun, 1 Oct 2017 13:29:03 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r451045 - in head/net/quagga: . files X-SVN-Group: ports-head X-SVN-Commit-Author: pi X-SVN-Commit-Paths: in head/net/quagga: . files X-SVN-Commit-Revision: 451045 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 01 Oct 2017 13:29:04 -0000 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 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 */