Merge pull request #4083 from donaldsharp/static_reinstall_nexthops

staticd: Allow reinstall of static nexthops on vrf restart
This commit is contained in:
Jafar Al-Gharaibeh 2019-04-05 01:09:03 -05:00 committed by GitHub
commit 5eec4615a2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -329,6 +329,7 @@ static void static_fixup_vrf(struct static_vrf *svrf,
continue;
si->nh_vrf_id = svrf->vrf->vrf_id;
si->nh_registered = false;
if (si->ifindex) {
ifp = if_lookup_by_name(si->ifname,
si->nh_vrf_id);