diff options
author | vivek <vivek@cumulusnetworks.com> | 2017-06-14 04:12:10 +0200 |
---|---|---|
committer | Donald Sharp <sharpd@cumulusnetworks.com> | 2017-08-08 16:09:37 +0200 |
commit | ba0fcaf6df38668b2b77d22a5780d2c631405b81 (patch) | |
tree | 313182db34977736188ec9b050426413ebc943c4 | |
parent | bgpd: Update EVPN operational commands (diff) | |
download | frr-ba0fcaf6df38668b2b77d22a5780d2c631405b81.tar.xz frr-ba0fcaf6df38668b2b77d22a5780d2c631405b81.zip |
bgpd: Fix incorrect AFI reference
Fixes: "bgpd: Fixes related to use of L2VPN/EVPN"
Signed-off-by: Vivek Venkatraman <vivek@cumulusnetworks.com>
-rw-r--r-- | bgpd/bgpd.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/bgpd/bgpd.h b/bgpd/bgpd.h index 208a4e4b4..7992075af 100644 --- a/bgpd/bgpd.h +++ b/bgpd/bgpd.h @@ -1488,7 +1488,8 @@ static inline int peer_group_af_configured(struct peer_group *group) || peer->afc[AFI_IP6][SAFI_MULTICAST] || peer->afc[AFI_IP6][SAFI_LABELED_UNICAST] || peer->afc[AFI_IP6][SAFI_MPLS_VPN] - || peer->afc[AFI_IP6][SAFI_ENCAP] || peer->afc[AFI_IP6][SAFI_EVPN]) + || peer->afc[AFI_IP6][SAFI_ENCAP] + || peer->afc[AFI_L2VPN][SAFI_EVPN]) return 1; return 0; } |