Add handling for flowspec in the update path.
authorclaudio <claudio@openbsd.org>
Wed, 19 Apr 2023 08:30:37 +0000 (08:30 +0000)
committerclaudio <claudio@openbsd.org>
Wed, 19 Apr 2023 08:30:37 +0000 (08:30 +0000)
commitfe6125af4e3a1b87137996b4e269fb6d10b8fbef
treebbaf17655b809496e172a51ea244da833b58c71f
parent9ed3e6d02a22349b33ff5ae54320c5139c49a9d8
Add handling for flowspec in the update path.

Flowspec has no nexthop so adjust up_prep_adjout() to handle a NULL nexthop.
Add the MP_REACH encoding in up_generate_mp_reach for flowspec.
OK tb@
usr.sbin/bgpd/rde_update.c