summaryrefslogtreecommitdiff
path: root/ripd/rip_interface.c
diff options
context:
space:
mode:
authorRafael Zalamena <rzalamena@users.noreply.github.com>2023-10-08 10:52:54 -0300
committerGitHub <noreply@github.com>2023-10-08 10:52:54 -0300
commit4a600456886e68e507eb12af1cc70bef0bdc70f4 (patch)
tree4ad7aee3137c243afd2693aa6fa0cdb58bd5138d /ripd/rip_interface.c
parent5c0a5aa616a48d3df1612c5c2f4810abb5cfe49c (diff)
parent56f141e64b2cfcb486bd73c7f11534f26aef9227 (diff)
Merge pull request #10733 from anlancs/zebra-remove-update
zebra: remove ZEBRA_INTERFACE_VRF_UPDATE
Diffstat (limited to 'ripd/rip_interface.c')
-rw-r--r--ripd/rip_interface.c25
1 files changed, 0 insertions, 25 deletions
diff --git a/ripd/rip_interface.c b/ripd/rip_interface.c
index b58015a67d..505290ed31 100644
--- a/ripd/rip_interface.c
+++ b/ripd/rip_interface.c
@@ -383,31 +383,6 @@ static int rip_ifp_destroy(struct interface *ifp)
return 0;
}
-/* VRF update for an interface. */
-int rip_interface_vrf_update(ZAPI_CALLBACK_ARGS)
-{
- struct interface *ifp;
- vrf_id_t new_vrf_id;
-
- ifp = zebra_interface_vrf_update_read(zclient->ibuf, vrf_id,
- &new_vrf_id);
- if (!ifp)
- return 0;
-
- if (IS_RIP_DEBUG_ZEBRA) {
- struct vrf *nvrf = vrf_lookup_by_id(new_vrf_id);
-
- zlog_debug("interface %s VRF change vrf %s(%u) new vrf %s(%u)",
- ifp->name, ifp->vrf->name, vrf_id, VRF_LOGNAME(nvrf),
- new_vrf_id);
- }
-
- if_update_to_new_vrf(ifp, new_vrf_id);
- rip_interface_sync(ifp);
-
- return 0;
-}
-
static void rip_interface_clean(struct rip_interface *ri)
{
ri->enable_network = 0;