summaryrefslogtreecommitdiffstats
path: root/ripd/rip_interface.c
diff options
context:
space:
mode:
authorRenato Westphal <renato@opensourcerouting.org>2019-01-04 22:08:10 +0100
committerRenato Westphal <renato@opensourcerouting.org>2019-01-18 19:15:41 +0100
commit241987a816b8a2bb1d2973f33624fdea62718208 (patch)
tree0c8d8b3a44cc5a41f216d15d630b76dea64a3363 /ripd/rip_interface.c
parentripd: move "rip_offset_list_master" to the rip structure (diff)
downloadfrr-241987a816b8a2bb1d2973f33624fdea62718208.tar.xz
frr-241987a816b8a2bb1d2973f33624fdea62718208.zip
ripd: remove dead code
None of these variables or functions were being used since the initial revision ~16 years ago. It's safe to say we can remove them now. Signed-off-by: Renato Westphal <renato@opensourcerouting.org>
Diffstat (limited to 'ripd/rip_interface.c')
-rw-r--r--ripd/rip_interface.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/ripd/rip_interface.c b/ripd/rip_interface.c
index ca2fa24e4..2e432ec79 100644
--- a/ripd/rip_interface.c
+++ b/ripd/rip_interface.c
@@ -553,16 +553,6 @@ int rip_if_down(struct interface *ifp)
return 0;
}
-/* Needed for stop RIP process. */
-void rip_if_down_all()
-{
- struct vrf *vrf = vrf_lookup_by_id(VRF_DEFAULT);
- struct interface *ifp;
-
- FOR_ALL_INTERFACES (vrf, ifp)
- rip_if_down(ifp);
-}
-
static void rip_apply_address_add(struct connected *ifc)
{
struct prefix_ipv4 address;