diff options
| author | Lou Berger <lberger@labn.net> | 2017-02-17 12:18:08 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-02-17 12:18:08 -0500 |
| commit | bac515c64c89ccbb8a22fa40bd595dd2999404ee (patch) | |
| tree | 308e52e33bc7b14eda9ab521b71f90a3356b6a46 /bgpd/rfapi/rfapi_rib.c | |
| parent | 9960254b7c3adacbcba47915ce5777466b2ee9aa (diff) | |
| parent | f47195ae584424123915172d18bef2ef8ec6179e (diff) | |
Merge pull request #103 from pguibert6WIND/frr_6wind_evpn_5
Provide EVPN basic support on master branch + EVPN Route Target 5 Support (V2)
Diffstat (limited to 'bgpd/rfapi/rfapi_rib.c')
| -rw-r--r-- | bgpd/rfapi/rfapi_rib.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/bgpd/rfapi/rfapi_rib.c b/bgpd/rfapi/rfapi_rib.c index 8e5d47415f..d633023dcf 100644 --- a/bgpd/rfapi/rfapi_rib.c +++ b/bgpd/rfapi/rfapi_rib.c @@ -916,7 +916,7 @@ process_pending_node ( vnc_zlog_debug_verbose ("%s: afi=%d, %s pn->info=%p", __func__, afi, buf_prefix, pn->info); - if (AFI_ETHER != afi) + if (AFI_L2VPN != afi) { rfapiQprefix2Rprefix (&pn->p, &hp); } @@ -1246,7 +1246,7 @@ callback: else { new->prefix = hp; - if (AFI_ETHER == afi) + if (AFI_L2VPN == afi) { /* hp is 0; need to set length to match AF of vn */ new->prefix.length = @@ -1334,7 +1334,7 @@ callback: else { new->prefix = hp; - if (AFI_ETHER == afi) + if (AFI_L2VPN == afi) { /* hp is 0; need to set length to match AF of vn */ new->prefix.length = @@ -1976,7 +1976,7 @@ rfapiRibPreload ( continue; } - afi = AFI_ETHER; + afi = AFI_L2VPN; rfapiL2o2Qprefix (pL2o, &pfx); } else @@ -2181,7 +2181,7 @@ rfapiRibPendingDeleteRoute ( vnc_zlog_debug_verbose ("%s: entry, it=%p, afi=%d, it_node=%p, pfx=%s", __func__, it, afi, it_node, buf); - if (AFI_ETHER == afi) + if (AFI_L2VPN == afi) { /* * ethernet import tables are per-LNI and each ethernet monitor |
