diff options
| author | vivek <vivek@cumulusnetworks.com> | 2017-06-13 19:12:10 -0700 |
|---|---|---|
| committer | Donald Sharp <sharpd@cumulusnetworks.com> | 2017-08-08 10:09:37 -0400 |
| commit | ba0fcaf6df38668b2b77d22a5780d2c631405b81 (patch) | |
| tree | 313182db34977736188ec9b050426413ebc943c4 | |
| parent | f2d622627bf3e2326d909f0fb4519beb4499d61d (diff) | |
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 208a4e4b4e..7992075af1 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; } |
