diff options
Diffstat (limited to 'staticd/static_nht.c')
| -rw-r--r-- | staticd/static_nht.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/staticd/static_nht.c b/staticd/static_nht.c index 38fd53a1f2..9af30a587a 100644 --- a/staticd/static_nht.c +++ b/staticd/static_nht.c @@ -52,13 +52,13 @@ static void static_nht_update_safi(struct prefix *p, uint32_t nh_num, reinstall = false; for (si = rn->info; si; si = si->next) { if (si->nh_vrf_id != nh_vrf_id) - return; + continue; if (si->type != STATIC_IPV4_GATEWAY && si->type != STATIC_IPV4_GATEWAY_IFNAME && si->type != STATIC_IPV6_GATEWAY && si->type != STATIC_IPV6_GATEWAY_IFNAME) - return; + continue; orig = si->nh_valid; if (p->family == AF_INET |
