Only fall back to the default IPv4 unicast mode if there was no MP
authorclaudio <claudio@openbsd.org>
Wed, 29 May 2024 10:38:24 +0000 (10:38 +0000)
committerclaudio <claudio@openbsd.org>
Wed, 29 May 2024 10:38:24 +0000 (10:38 +0000)
commit0e946de2e978135733c82351e93d6b5f7e2e6d34
tree90bcf0ec5cc8dc3e9184dae248837fbd2f0eaf50
parent1ebe6b99ebbe95fac37698f4a9c36572bf30268a
Only fall back to the default IPv4 unicast mode if there was no MP
capability neither from our side not the remote end.

Also track unknown AFI/SAFI combos for the remote end in AID_UNSPEC
this way even unknown combos will prevent a fall back.
OK henning@ sthen@
usr.sbin/bgpd/session.c