]> git.proxmox.com Git - mirror_frr.git/blobdiff - ospfd/ospf_sr.c
ospfd: Add vrf to nhlfe route add
[mirror_frr.git] / ospfd / ospf_sr.c
index 1560977ae86bfece3fb1f21651e88302ea1ada3e..02cf2636cc8c8f0dab8c0a66b024fdac8403acfa 100644 (file)
@@ -675,6 +675,7 @@ static int ospf_zebra_send_mpls_ftn(int cmd, struct sr_nhlfe nhlfe)
                SET_FLAG(api.message, ZAPI_MESSAGE_LABEL);
                api_nh->labels[0] = nhlfe.label_out;
                api_nh->label_num = 1;
+               api_nh->vrf_id = VRF_DEFAULT;
                api.nexthop_num = 1;
        }