diff options
author | Igor Ryzhov <iryzhov@nfware.com> | 2021-11-18 19:18:43 +0100 |
---|---|---|
committer | Igor Ryzhov <iryzhov@nfware.com> | 2021-11-23 10:46:21 +0100 |
commit | e122fe6b502c932ea146cfe19971610bbbd9d150 (patch) | |
tree | 989d1027d967bcedbf477a6f2321442b10580b89 /staticd | |
parent | Merge pull request #10040 from idryzhov/ifp-vrf-id-cleanup (diff) | |
download | frr-e122fe6b502c932ea146cfe19971610bbbd9d150.tar.xz frr-e122fe6b502c932ea146cfe19971610bbbd9d150.zip |
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>
Diffstat (limited to 'staticd')
-rw-r--r-- | staticd/static_zebra.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/staticd/static_zebra.c b/staticd/static_zebra.c index 0e0f61d18..311aeda33 100644 --- a/staticd/static_zebra.c +++ b/staticd/static_zebra.c @@ -84,13 +84,6 @@ static int interface_address_delete(ZAPI_CALLBACK_ARGS) 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 */ static_install_intf_nh(ifp); static_ifindex_update(ifp, true); |