mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-14 10:37:29 +00:00
staticd: remove unnecessary function call
When the VRF interface is coming up, we don't need to fixup VRF ids - it was already done in static_vrf_enable when the interface was created. Signed-off-by: Igor Ryzhov <iryzhov@nfware.com>
This commit is contained in:
parent
0ecdbedbf9
commit
e122fe6b50
@ -84,13 +84,6 @@ static int interface_address_delete(ZAPI_CALLBACK_ARGS)
|
|||||||
|
|
||||||
static int static_ifp_up(struct interface *ifp)
|
static int static_ifp_up(struct interface *ifp)
|
||||||
{
|
{
|
||||||
if (if_is_vrf(ifp)) {
|
|
||||||
struct static_vrf *svrf = ifp->vrf->info;
|
|
||||||
|
|
||||||
if (svrf)
|
|
||||||
static_fixup_vrf_ids(svrf);
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Install any static reliant on this interface coming up */
|
/* Install any static reliant on this interface coming up */
|
||||||
static_install_intf_nh(ifp);
|
static_install_intf_nh(ifp);
|
||||||
static_ifindex_update(ifp, true);
|
static_ifindex_update(ifp, true);
|
||||||
|
Loading…
Reference in New Issue
Block a user