CVSROOT:        /cvs
Module name:    src
Changes by:     [email protected] 2026/05/19 05:25:57

Modified files:
        usr.sbin/bgpd  : rde_update.c 

Log message:
Adjust handling of limits in up_generate_addpath()

The maxpaths limit is straightforward but the handling of plus is more
sublte. If plus == 0 then no extra paths should be added. So the default
is to not include any extra paths (unless add-path send all is used).
If plus is set and mmaxpaths is 0 add up to plus additional paths.
If plus and max are used together the first limit reached will break the
loop.

OK tb@

Reply via email to