diff options
| author | Renato Westphal <renato@opensourcerouting.org> | 2019-01-04 19:08:10 -0200 |
|---|---|---|
| committer | Renato Westphal <renato@opensourcerouting.org> | 2019-01-18 16:15:41 -0200 |
| commit | 241987a816b8a2bb1d2973f33624fdea62718208 (patch) | |
| tree | 0c8d8b3a44cc5a41f216d15d630b76dea64a3363 /ripd/rip_interface.c | |
| parent | 3f21c8c4cb57a1c3f645be77dfa8e860019daf6c (diff) | |
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.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/ripd/rip_interface.c b/ripd/rip_interface.c index ca2fa24e43..2e432ec79c 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; |
