mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-04 11:33:48 +00:00
bgpd: fix bmp loc-rib peer up message should use correct AS number
The transmitted AS value in te tx open message of the peer up loc-rib message is set to 0. Actually, it should reflect the AS value of the current BGP instance. Signed-off-by: Philippe Guibert <philippe.guibert@6wind.com>
This commit is contained in:
parent
2a143041f8
commit
323d8edcd7
@ -2238,7 +2238,7 @@ static void bmp_bgp_peer_vrf(struct bmp_bgp_peer *bbpeer, struct bgp *bgp)
|
||||
|
||||
stream_free(s);
|
||||
|
||||
s = bgp_open_make(peer, send_holdtime, local_as, &bgp->router_id);
|
||||
s = bgp_open_make(peer, send_holdtime, bgp->as, &bgp->router_id);
|
||||
open_len = stream_get_endp(s);
|
||||
bbpeer->open_tx_len = open_len;
|
||||
if (bbpeer->open_tx)
|
||||
|
Loading…
Reference in New Issue
Block a user