diff options
| author | Donald Sharp <sharpd@cumulusnetworks.com> | 2018-02-08 09:12:12 -0500 | 
|---|---|---|
| committer | Donald Sharp <sharpd@cumulusnetworks.com> | 2018-02-08 19:35:53 -0500 | 
| commit | 4a7371e9e21569eee0e728f64ea06870d1aafa5e (patch) | |
| tree | 15d90068bac9ca5259e6e63b5df7cac7747df08f /ripd/rip_zebra.c | |
| parent | a97e5c1a8075fcab9d9e0edb453167752fc3e2b9 (diff) | |
*: Track vrfs per nexthop not per route entry
Track the vfrs on a per nexthop basis instead
of on a per route entry basis.
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'ripd/rip_zebra.c')
| -rw-r--r-- | ripd/rip_zebra.c | 2 | 
1 files changed, 1 insertions, 1 deletions
diff --git a/ripd/rip_zebra.c b/ripd/rip_zebra.c index 52a5d93c4f..4f02daed42 100644 --- a/ripd/rip_zebra.c +++ b/ripd/rip_zebra.c @@ -48,7 +48,6 @@ static void rip_zebra_ipv4_send(struct route_node *rp, u_char cmd)  	memset(&api, 0, sizeof(api));  	api.vrf_id = VRF_DEFAULT; -	api.nh_vrf_id = VRF_DEFAULT;  	api.type = ZEBRA_ROUTE_RIP;  	api.safi = SAFI_UNICAST; @@ -57,6 +56,7 @@ static void rip_zebra_ipv4_send(struct route_node *rp, u_char cmd)  		if (count >= MULTIPATH_NUM)  			break;  		api_nh = &api.nexthops[count]; +		api_nh->vrf_id = VRF_DEFAULT;  		api_nh->gate = rinfo->nh.gate;  		api_nh->type = NEXTHOP_TYPE_IPV4;  		if (cmd == ZEBRA_ROUTE_ADD)  | 
