]> 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)
committerOndrej Zajicek <santiago@crfreenet.org>
Tue, 10 Dec 2024 01:14:06 +0000 (02:14 +0100)
commitcfac0076fb7365fe91360fa351f311f141a7a303
treea0b50181a7f78268f8539dac6043b5008e7f0f50
parent6a55359b1eeba099dddf410bb37137370fe19b86
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