diff options
| author | Donald Sharp <sharpd@cumulusnetworks.com> | 2017-09-15 09:49:26 -0400 |
|---|---|---|
| committer | Donald Sharp <sharpd@cumulusnetworks.com> | 2017-09-15 09:49:26 -0400 |
| commit | 8b45348e8e60d3b3d57cfa581b1c87543541019e (patch) | |
| tree | d995c82fea01a484bcce4338949a6672e7cf23e9 | |
| parent | 461b76e4ed82f3bb3f71499cfb2025959affca9b (diff) | |
bgpd: Do not put on outgoing stream type 5 route 2 times
With the change to allow bgp_evpn.c to support 2,3 and 5 evpn routes
the output of the route type is being done by bgp_evpn_encode_prefix
instead of the individual route encoder functions.
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com.
| -rw-r--r-- | bgpd/bgp_evpn.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/bgpd/bgp_evpn.c b/bgpd/bgp_evpn.c index 8c3a1b337b..7b3a8ef098 100644 --- a/bgpd/bgp_evpn.c +++ b/bgpd/bgp_evpn.c @@ -2047,7 +2047,6 @@ static void evpn_mpattr_encode_type5(struct stream *s, struct prefix *p, len = 8; /* ipv4 */ else len = 32; /* ipv6 */ - stream_putc(s, BGP_EVPN_IP_PREFIX_ROUTE); /* Prefix contains RD, ESI, EthTag, IP length, IP, GWIP and VNI */ stream_putc(s, 8 + 10 + 4 + 1 + len + 3); stream_put(s, prd->val, 8); |
