]> git.puffer.fish Git - matthieu/frr.git/commit
bgpd: Check if the peer is configured as interface when checking NHT
authorDonatas Abraitis <donatas@opensourcerouting.org>
Tue, 7 Mar 2023 20:36:15 +0000 (22:36 +0200)
committerMergify <37929162+mergify[bot]@users.noreply.github.com>
Sat, 11 Mar 2023 05:09:53 +0000 (05:09 +0000)
commit3704fee75d4b63ed3044a691bc26b0ec01fa329d
tree579ebf0d2c83ac136947b46d943372267978ec39
parent9f31d576647d5a1650e3fb326a8be6bdbd4fbd45
bgpd: Check if the peer is configured as interface when checking NHT

This causes early return. peer->conf is NULL for IPv6 link-local peering,
and the session never establish.

Signed-off-by: Donatas Abraitis <donatas@opensourcerouting.org>
(cherry picked from commit e9ad26e53f0b307d73da6f3083851054a5734ce9)
bgpd/bgp_nht.c