diff options
author | Sri Mohana Singamsetty <srimohans@gmail.com> | 2019-03-15 18:27:13 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-03-15 18:27:13 +0100 |
commit | f05d8880492312e5ca79dfd6eb174d066ff07eb9 (patch) | |
tree | 9234192dc6b54aaaff10f95f55865f23cf63d15d /zebra | |
parent | Merge pull request #3962 from donaldsharp/pim_display (diff) | |
parent | bgpd: Recursively determine if route's source is EVPN (diff) | |
download | frr-f05d8880492312e5ca79dfd6eb174d066ff07eb9.tar.xz frr-f05d8880492312e5ca79dfd6eb174d066ff07eb9.zip |
Merge pull request #3892 from vivek-cumulus/evpn_vrf_route_leak
Leaking of EVPN-based IPv4 and IPv6 routes between VRFs
Diffstat (limited to 'zebra')
-rw-r--r-- | zebra/zapi_msg.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/zebra/zapi_msg.c b/zebra/zapi_msg.c index 9f2bbcf42..4e97c272f 100644 --- a/zebra/zapi_msg.c +++ b/zebra/zapi_msg.c @@ -1456,8 +1456,8 @@ static void zread_route_add(ZAPI_HANDLER_ARGS) &(api_nh->gate.ipv4), sizeof(struct in_addr)); zebra_vxlan_evpn_vrf_route_add( - vrf_id, &api_nh->rmac, &vtep_ip, - &api.prefix); + api_nh->vrf_id, &api_nh->rmac, + &vtep_ip, &api.prefix); } break; case NEXTHOP_TYPE_IPV6: @@ -1479,8 +1479,8 @@ static void zread_route_add(ZAPI_HANDLER_ARGS) memcpy(&vtep_ip.ipaddr_v6, &(api_nh->gate.ipv6), sizeof(struct in6_addr)); zebra_vxlan_evpn_vrf_route_add( - vrf_id, &api_nh->rmac, &vtep_ip, - &api.prefix); + api_nh->vrf_id, &api_nh->rmac, + &vtep_ip, &api.prefix); } break; case NEXTHOP_TYPE_BLACKHOLE: |