diff options
| author | Enke Chen <enchen@paloaltonetworks.com> | 2024-10-16 11:15:28 -0700 |
|---|---|---|
| committer | Mergify <37929162+mergify[bot]@users.noreply.github.com> | 2024-10-17 05:56:13 +0000 |
| commit | c1634632311366603a2866583e226652d6dd5d76 (patch) | |
| tree | 31ca4b76d38f8263e5e0555d82f133fb12949539 /lib/debug.h | |
| parent | 13d500dd14efd7110e1c8ab70371fb69697fae2f (diff) | |
bgpd: fix several issues in sourcing AIGP attribute
Fix several issues in sourcing AIGP attribute:
1) AIGP should not be set as default for a redistributed route or a
static network. It should be set by config instead.
2) AIGP sourced by "set aigp-metric igp-metric" in a route-map does
not set the correct value for a redistributed route.
3) When redistribute a connected route like loopback, the AGIP (with
value 0) is sourced by "set aigp-metric igp-metric", but the
attribute is not propagated as the attribute flag is not set.
Signed-off-by: Enke Chen <enchen@paloaltonetworks.com>
(cherry picked from commit f65356d8bb9a43b1725fafdbd30aba0de9d214fa)
Diffstat (limited to 'lib/debug.h')
0 files changed, 0 insertions, 0 deletions
