In up_generate_addpath_all() ensure that the new prefix is valid.
authorclaudio <claudio@openbsd.org>
Thu, 12 Oct 2023 14:16:28 +0000 (14:16 +0000)
committerclaudio <claudio@openbsd.org>
Thu, 12 Oct 2023 14:16:28 +0000 (14:16 +0000)
commite17c4daaf7f127ebd6cd320e57709b2183e1008d
tree059090611b580cf7da88bb5a117ec0e93f6f5279
parent19920707c058766099cfafc13c56694687f1e093
In up_generate_addpath_all() ensure that the new prefix is valid.

This should fix a fatal error reported by Arend Brouwer (arend at eritap com)
when "announce add-path send all" is used.
As a workaround "announce add-path send best plus 500" can used.

OK tb@
usr.sbin/bgpd/rde_update.c