summaryrefslogtreecommitdiffstats
path: root/bgpd/bgp_updgrp_packet.c
diff options
context:
space:
mode:
authorEnke Chen <enchen@paloaltonetworks.com>2025-01-12 09:27:12 +0100
committerEnke Chen <enchen@paloaltonetworks.com>2025-01-14 17:46:54 +0100
commit96ba273e4edf6146112afcfbf0ea811cb2728b1f (patch)
tree6b30b89e20152204fbbb50b809fbe58aa120d2dc /bgpd/bgp_updgrp_packet.c
parentMerge pull request #17800 from opensourcerouting/fix/import_between_vrf_respe... (diff)
downloadfrr-96ba273e4edf6146112afcfbf0ea811cb2728b1f.tar.xz
frr-96ba273e4edf6146112afcfbf0ea811cb2728b1f.zip
bgpd: remove unused BATTR_REFLECTED for rmap_change_flags
Remove unused BATTR_REFLECTED for rmap_change_flags. Signed-off-by: Enke Chen <enchen@paloaltonetworks.com>
Diffstat (limited to '')
-rw-r--r--bgpd/bgp_updgrp_packet.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/bgpd/bgp_updgrp_packet.c b/bgpd/bgp_updgrp_packet.c
index 3ce136ef8..ec418f2b1 100644
--- a/bgpd/bgp_updgrp_packet.c
+++ b/bgpd/bgp_updgrp_packet.c
@@ -1284,10 +1284,6 @@ bpacket_vec_arr_inherit_attr_flags(struct bpacket_attr_vec_arr *vecarr,
SET_FLAG(vecarr->entries[BGP_ATTR_VEC_NH].flags,
BPKT_ATTRVEC_FLAGS_RMAP_NH_PEER_ADDRESS);
- if (CHECK_FLAG(attr->rmap_change_flags, BATTR_REFLECTED))
- SET_FLAG(vecarr->entries[BGP_ATTR_VEC_NH].flags,
- BPKT_ATTRVEC_FLAGS_REFLECTED);
-
if (CHECK_FLAG(attr->rmap_change_flags, BATTR_RMAP_NEXTHOP_UNCHANGED))
SET_FLAG(vecarr->entries[BGP_ATTR_VEC_NH].flags,
BPKT_ATTRVEC_FLAGS_RMAP_NH_UNCHANGED);