diff options
| author | Jack.zhang <hanyu.zly@alibaba-inc.com> | 2023-06-28 11:38:41 +0800 |
|---|---|---|
| committer | Jack.zhang <hanyu.zly@alibaba-inc.com> | 2023-06-28 11:42:19 +0800 |
| commit | a725bf4bbb556006c0f8a1e4f7c81a6623ef5492 (patch) | |
| tree | cc2b84533cca6fde88a6d3687dbc028c09fe1e61 /python/firstheader.py | |
| parent | 579d00e167bedfd9770cf5c1b692fa0d56f8196c (diff) | |
bgpd:Fixing a conflict issue between rmap_in_change_flag and rmap_out_change_flag.
Imagine the following scenario:
when a neighbor has an inbound policy set to modify the next hop, but no outbound route-map is configured.
In this case, if(!post_attr && (ROUTE_MAP_OUT_NAME(filter) || bgp_path_suppressed(pi))) returns false, causing rmap_in_change_flag to not be correctly cleared, and mistakenly identified as rmap_out_change_flag, leading to the failure of the subsequent neighbor-nexthop-self command.
Signed-off-by: Jack.zhang <hanyu.zly@alibaba-inc.com>
Diffstat (limited to 'python/firstheader.py')
0 files changed, 0 insertions, 0 deletions
