mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-07-26 23:23:35 +00:00
Merge pull request #1184 from donaldsharp/bgp_evpn_booey
bgpd: Do not put on outgoing stream type 5 route 2 times
This commit is contained in:
commit
64ed2a6108
@ -2047,7 +2047,6 @@ static void evpn_mpattr_encode_type5(struct stream *s, struct prefix *p,
|
|||||||
len = 8; /* ipv4 */
|
len = 8; /* ipv4 */
|
||||||
else
|
else
|
||||||
len = 32; /* ipv6 */
|
len = 32; /* ipv6 */
|
||||||
stream_putc(s, BGP_EVPN_IP_PREFIX_ROUTE);
|
|
||||||
/* Prefix contains RD, ESI, EthTag, IP length, IP, GWIP and VNI */
|
/* Prefix contains RD, ESI, EthTag, IP length, IP, GWIP and VNI */
|
||||||
stream_putc(s, 8 + 10 + 4 + 1 + len + 3);
|
stream_putc(s, 8 + 10 + 4 + 1 + len + 3);
|
||||||
stream_put(s, prd->val, 8);
|
stream_put(s, prd->val, 8);
|
||||||
|
Loading…
Reference in New Issue
Block a user