]> git.proxmox.com Git - mirror_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)
committerDonatas Abraitis <donatas@opensourcerouting.org>
Tue, 7 Mar 2023 20:36:15 +0000 (22:36 +0200)
commite9ad26e53f0b307d73da6f3083851054a5734ce9
tree102bf6f01642e0f06f294320146603a725832cf8
parente1ee742b53633a37a5faaf1fdd0021b813af7138
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>
bgpd/bgp_nht.c