mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-05 14:43:52 +02:00
bird: update to 2.16.
This commit is contained in:
parent
675417f914
commit
4e10a282f5
2 changed files with 30 additions and 2 deletions
|
@ -0,0 +1,28 @@
|
||||||
|
From cfac0076fb7365fe91360fa351f311f141a7a303 Mon Sep 17 00:00:00 2001
|
||||||
|
From: =?UTF-8?q?Fabian=20Bl=C3=A4se?= <fabian@blaese.de>
|
||||||
|
Date: Tue, 10 Dec 2024 02:14:06 +0100
|
||||||
|
Subject: [PATCH] Babel: fix seqno wrapping on seqno request
|
||||||
|
|
||||||
|
The Babel seqno wraps around when reaching its maximum value (UINT16_MAX).
|
||||||
|
When comparing seqnos, this has to be taken into account. Therefore,
|
||||||
|
plain number comparisons do not work.
|
||||||
|
---
|
||||||
|
proto/babel/babel.c | 2 +-
|
||||||
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||||
|
|
||||||
|
diff --git a/proto/babel/babel.c b/proto/babel/babel.c
|
||||||
|
index fe5c0599a..b5cbb63f8 100644
|
||||||
|
--- a/proto/babel/babel.c
|
||||||
|
+++ b/proto/babel/babel.c
|
||||||
|
@@ -1015,7 +1015,7 @@ babel_send_update_(struct babel_iface *ifa, btime changed, struct fib *rtable)
|
||||||
|
|
||||||
|
/* Our own seqno might have changed, in which case we update the routes we
|
||||||
|
originate. */
|
||||||
|
- if ((e->router_id == p->router_id) && (e->seqno < p->update_seqno))
|
||||||
|
+ if ((e->router_id == p->router_id) && gt_mod64k(p->update_seqno, e->seqno))
|
||||||
|
{
|
||||||
|
e->seqno = p->update_seqno;
|
||||||
|
e->updated = current_time();
|
||||||
|
--
|
||||||
|
GitLab
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
# Template file for 'bird'
|
# Template file for 'bird'
|
||||||
pkgname=bird
|
pkgname=bird
|
||||||
version=2.15.1
|
version=2.16
|
||||||
revision=1
|
revision=1
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
hostmakedepends="flex"
|
hostmakedepends="flex"
|
||||||
|
@ -11,7 +11,7 @@ license="GPL-2.0-or-later"
|
||||||
homepage="https://bird.network.cz"
|
homepage="https://bird.network.cz"
|
||||||
changelog="https://gitlab.nic.cz/labs/bird/-/raw/master/NEWS"
|
changelog="https://gitlab.nic.cz/labs/bird/-/raw/master/NEWS"
|
||||||
distfiles="https://bird.network.cz/download/bird-${version}.tar.gz"
|
distfiles="https://bird.network.cz/download/bird-${version}.tar.gz"
|
||||||
checksum=48e85c622de164756c132ea77ad1a8a95cc9fd0137ffd0d882746589ce75c75d
|
checksum=6629110293af6f1727967121d64f9c8dc94ed6181c4ef8b1dc51c7fdd669871c
|
||||||
|
|
||||||
conf_files="/etc/bird.conf"
|
conf_files="/etc/bird.conf"
|
||||||
system_accounts="_bird"
|
system_accounts="_bird"
|
||||||
|
|
Loading…
Add table
Reference in a new issue