]> git.ipfire.org Git - thirdparty/bird.git/commit
Babel: fix seqno wrapping on seqno request
authorFabian Bläse <fabian@blaese.de>
Tue, 10 Dec 2024 01:14:06 +0000 (02:14 +0100)
committerMaria Matejka <mq@ucw.cz>
Tue, 7 Jan 2025 19:38:28 +0000 (20:38 +0100)
commitde7ded6ef614ae3138599b8a322f3eb6c204d57b
treec93a132dda4c2856591251951304fa37f4ad4d6d
parent1dbee120d383981811aa47b244886962ebd345c0
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