diff options
| author | Donatas Abraitis <donatas@opensourcerouting.org> | 2022-10-27 10:29:02 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-10-27 10:29:02 +0100 |
| commit | 99267afe94eb286cf3f55db4244982022058096a (patch) | |
| tree | fc7b5468344ac802991e599dc31e2173e4c3dfd0 | |
| parent | e810627deca623fcdb0b153e02389188080e9c7a (diff) | |
| parent | c0c6fe2bd428b7f80d46a6775b1c85bc6c095f75 (diff) | |
Merge pull request #12209 from FRRouting/mergify/bp/dev/8.4/pr-12205
bgpd: Fix the condition whether nexthop is changed (backport #12205)
| -rw-r--r-- | bgpd/bgp_updgrp_packet.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bgpd/bgp_updgrp_packet.c b/bgpd/bgp_updgrp_packet.c index 88a81f255d..344aea16f5 100644 --- a/bgpd/bgp_updgrp_packet.c +++ b/bgpd/bgp_updgrp_packet.c @@ -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 */ |
