diff options
| author | Philippe Guibert <philippe.guibert@6wind.com> | 2023-02-24 14:19:06 +0100 |
|---|---|---|
| committer | Philippe Guibert <philippe.guibert@6wind.com> | 2023-02-28 22:00:25 +0100 |
| commit | 8cd3d07097a50c3e9282d293928c82c11a15ce60 (patch) | |
| tree | 269f5431cbf4be056f6d3699da903f824c785610 /pimd/pim_cmd_common.c | |
| parent | 516444e6b17c0043e7abe88ce6587d7dd37ed5e5 (diff) | |
bgpd: generalize imported peer in bgp best selection function
The bgp_path_info_cmp() function needs to get the peer of
imported prefixes in many parts of the algorithm. Use two
local variables to get the original peer either for vpn
imported prefixes or from standard prefixes.
Signed-off-by: Philippe Guibert <philippe.guibert@6wind.com>
Diffstat (limited to 'pimd/pim_cmd_common.c')
0 files changed, 0 insertions, 0 deletions
