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:
Donatas Abraitis 2022-10-27 07:47:24 +01:00 committed by GitHub
commit d5850a1b6a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -527,7 +527,7 @@ struct stream *bpacket_reformat_for_peer(struct bpacket *pkt,
&& !CHECK_FLAG(vec->flags,
BPKT_ATTRVEC_FLAGS_RMAP_NH_UNCHANGED)
&& !peer_af_flag_check(
peer, nhafi, paf->safi,
peer, paf->afi, paf->safi,
PEER_FLAG_NEXTHOP_UNCHANGED)) {
/* NOTE: not handling case where NH has new AFI
*/