mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-09 23:48:11 +00:00
Merge pull request #12205 from proelbtn/fix-ipv4-vpn-nexthop-over-ipv6-peer
bgpd: Fix the condition whether nexthop is changed
This commit is contained in:
commit
d5850a1b6a
@ -527,7 +527,7 @@ struct stream *bpacket_reformat_for_peer(struct bpacket *pkt,
|
|||||||
&& !CHECK_FLAG(vec->flags,
|
&& !CHECK_FLAG(vec->flags,
|
||||||
BPKT_ATTRVEC_FLAGS_RMAP_NH_UNCHANGED)
|
BPKT_ATTRVEC_FLAGS_RMAP_NH_UNCHANGED)
|
||||||
&& !peer_af_flag_check(
|
&& !peer_af_flag_check(
|
||||||
peer, nhafi, paf->safi,
|
peer, paf->afi, paf->safi,
|
||||||
PEER_FLAG_NEXTHOP_UNCHANGED)) {
|
PEER_FLAG_NEXTHOP_UNCHANGED)) {
|
||||||
/* NOTE: not handling case where NH has new AFI
|
/* NOTE: not handling case where NH has new AFI
|
||||||
*/
|
*/
|
||||||
|
Loading…
Reference in New Issue
Block a user