]> git.ipfire.org Git - thirdparty/bird.git/commit
BGP: Fix handling of strange IPv6 link-local-only next hops
authorOndrej Zajicek (work) <santiago@crfreenet.org>
Wed, 29 Apr 2020 00:50:29 +0000 (02:50 +0200)
committerOndrej Zajicek (work) <santiago@crfreenet.org>
Wed, 29 Apr 2020 00:50:29 +0000 (02:50 +0200)
commit17de3a023f7bde293892b41bfafe5740c8553fc8
treeabf6ea6675943bec8a34fccb52b8da11885cb86d
parentb465604eb13fc57ebe240556ebf0d4469690c906
BGP: Fix handling of strange IPv6 link-local-only next hops

There are three common ways how to encode IPv6 link-local-only next hops:
(:: ll), (ll), and (ll ll). We use the first one but we should accept all
three. The patch fixes handling of the last one.

Thanks to Sebastian Hahn for the bugreport.
proto/bgp/packets.c