mirror of
https://github.com/FRRouting/frr.git
synced 2025-04-30 13:37:17 +02:00
Merge 157a3cbe9a
into 3dd4d417be
This commit is contained in:
commit
a07a1da9ef
|
@ -94,7 +94,16 @@ static int static_ifp_destroy(struct interface *ifp)
|
|||
|
||||
static int interface_address_add(ZAPI_CALLBACK_ARGS)
|
||||
{
|
||||
zebra_interface_address_read(cmd, zclient->ibuf, vrf_id);
|
||||
struct interface *ifp;
|
||||
struct connected *ifc;
|
||||
|
||||
ifc = zebra_interface_address_read(cmd, zclient->ibuf, vrf_id);
|
||||
|
||||
ifp = ifc->ifp;
|
||||
|
||||
/* route walk */
|
||||
if (CHECK_FLAG(ifp->status, ZEBRA_INTERFACE_ACTIVE))
|
||||
static_ifindex_update(ifp, true);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue