summaryrefslogtreecommitdiffstats
path: root/ripd
diff options
context:
space:
mode:
authorMartin Winter <mwinter@opensourcerouting.org>2018-02-14 04:05:42 +0100
committerGitHub <noreply@github.com>2018-02-14 04:05:42 +0100
commit74a75bdbadab86341c239dff5d33fad530754247 (patch)
tree03af0658c91e4dff6efed65bd20886adf3d1910f /ripd
parentMerge pull request #1734 from donaldsharp/control_me (diff)
parentzebra: Use appropriate output function for label printing (diff)
downloadfrr-74a75bdbadab86341c239dff5d33fad530754247.tar.xz
frr-74a75bdbadab86341c239dff5d33fad530754247.zip
Merge pull request #1701 from donaldsharp/zapi_vrf_label
Zapi vrf label
Diffstat (limited to 'ripd')
-rw-r--r--ripd/rip_zebra.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ripd/rip_zebra.c b/ripd/rip_zebra.c
index 52a5d93c4..4f02daed4 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)