Merge pull request #3946 from AnuradhaKaruppiah/evpn-prefix-length

bgp: fix misc evpn problems caused by using incorrect prefixlen
This commit is contained in:
David Lamparter 2019-03-26 16:38:28 +01:00 committed by GitHub
commit 2e4e4babaf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -30,8 +30,9 @@
#define RT_ADDRSTRLEN 28
/* EVPN prefix lengths. This reprsent the sizeof struct prefix_evpn */
#define EVPN_ROUTE_PREFIXLEN 224
/* EVPN prefix lengths. This represents the sizeof struct evpn_addr
* in bits */
#define EVPN_ROUTE_PREFIXLEN (sizeof(struct evpn_addr) * 8)
/* EVPN route types. */
typedef enum {