CVSROOT:        /cvs
Module name:    src
Changes by:     [email protected] 2026/05/28 08:01:46

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

Log message:
Revert a small part of the earlier adjout_prefix_dump diff.

In up_process_prefix() bring back the path_id_tx hack for regular peers.
A peer not using add-path send will set the path_id_tx to 0 and so
adjout_prefix_first() will return the right match.

This was undone because there is a problem with this when a peer switches
mode (from add-path send back to no add-path). adjout_prefix_first()
returns a prefix where path_id_tx is not 0 but adjout_prefix_update()
expects that to be 0. This edge case is far less common and a better
workaround can be found here.

Fixes the addpath intergration test.

Reply via email to