summaryrefslogtreecommitdiff
path: root/proto/bgp/packets.c
diff options
context:
space:
mode:
authorToke Høiland-Jørgensen <toke@toke.dk>2023-01-30 23:36:39 +0100
committerOndrej Zajicek <santiago@crfreenet.org>2023-01-30 23:36:39 +0100
commit3e7e4a71868bc519aacc0eb785471b46fc345a5c (patch)
treef6ae8ac0f57c6aad4b9ad53c47d71425cba3c82c /proto/bgp/packets.c
parent72230d3ca37d34cafa0442c23f83121ae1fc41be (diff)
Babel: Fix missing modulo comparison of seqnos
Juliusz noticed there were a couple of places we were doing straight inequality comparisons of seqnos in Babel. This is wrong because seqnos can wrap: so we need to use the modulo-64k comparison function for these cases as well. Introduce a strict-inequality version of the modulo-comparison for this purpose.
Diffstat (limited to 'proto/bgp/packets.c')
0 files changed, 0 insertions, 0 deletions