mirror of
https://github.com/FRRouting/frr.git
synced 2025-04-30 13:37:17 +02:00
Merge 9be6b2082e
into 3dd4d417be
This commit is contained in:
commit
d21c148d9d
|
@ -371,9 +371,13 @@ void static_zebra_nht_register(struct static_nexthop *nh, bool reg)
|
|||
return;
|
||||
}
|
||||
|
||||
if (nhtd->registered)
|
||||
if (nhtd->registered) {
|
||||
/* have no data, but did send register */
|
||||
afi_t afi = prefix_afi(&lookup.nh);
|
||||
static_nht_update(p, src_p, &nhtd->nh, nhtd->nh_num, afi, si->safi,
|
||||
nh->nh_vrf_id);
|
||||
return;
|
||||
}
|
||||
|
||||
cmd = ZEBRA_NEXTHOP_REGISTER;
|
||||
DEBUGD(&static_dbg_route, "Registering nexthop(%pFX) for %pRN",
|
||||
|
|
Loading…
Reference in a new issue