mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-04-29 12:18:12 +00:00
ripd: remove leftovers from the old sighup handler
Commit bc1bdde2f6
removed the rip_reset() function but didn't remove
other functions that were only called by rip_reset(). Remove them
now (dead code).
Signed-off-by: Renato Westphal <renato@opensourcerouting.org>
This commit is contained in:
parent
cba25972ac
commit
a3d29c6a49
@ -204,13 +204,6 @@ static int config_write_debug(struct vty *vty)
|
||||
return write;
|
||||
}
|
||||
|
||||
void rip_debug_reset(void)
|
||||
{
|
||||
rip_debug_event = 0;
|
||||
rip_debug_packet = 0;
|
||||
rip_debug_zebra = 0;
|
||||
}
|
||||
|
||||
void rip_debug_init(void)
|
||||
{
|
||||
rip_debug_event = 0;
|
||||
|
@ -47,6 +47,5 @@ extern unsigned long rip_debug_packet;
|
||||
extern unsigned long rip_debug_zebra;
|
||||
|
||||
extern void rip_debug_init(void);
|
||||
extern void rip_debug_reset(void);
|
||||
|
||||
#endif /* _ZEBRA_RIP_DEBUG_H */
|
||||
|
@ -531,15 +531,6 @@ static void rip_interface_reset(struct rip_interface *ri)
|
||||
rip_interface_clean(ri);
|
||||
}
|
||||
|
||||
void rip_interfaces_reset(void)
|
||||
{
|
||||
struct vrf *vrf = vrf_lookup_by_id(VRF_DEFAULT);
|
||||
struct interface *ifp;
|
||||
|
||||
FOR_ALL_INTERFACES (vrf, ifp)
|
||||
rip_interface_reset(ifp->info);
|
||||
}
|
||||
|
||||
int rip_if_down(struct interface *ifp)
|
||||
{
|
||||
struct route_node *rp;
|
||||
|
@ -517,11 +517,6 @@ static struct route_map_rule_cmd route_set_tag_cmd = {
|
||||
#define MATCH_STR "Match values from routing table\n"
|
||||
#define SET_STR "Set values in destination routing protocol\n"
|
||||
|
||||
void rip_route_map_reset()
|
||||
{
|
||||
;
|
||||
}
|
||||
|
||||
/* Route-map init */
|
||||
void rip_route_map_init()
|
||||
{
|
||||
|
@ -147,11 +147,6 @@ static int rip_zebra_read_route(int command, struct zclient *zclient,
|
||||
return 0;
|
||||
}
|
||||
|
||||
void rip_zclient_reset(void)
|
||||
{
|
||||
zclient_reset(zclient);
|
||||
}
|
||||
|
||||
void rip_redistribute_conf_update(int type)
|
||||
{
|
||||
zclient_redistribute(ZEBRA_REDISTRIBUTE_ADD, zclient, AFI_IP, type,
|
||||
|
@ -376,17 +376,14 @@ extern void rip_init(void);
|
||||
extern void rip_clean(void);
|
||||
extern void rip_clean_network(void);
|
||||
extern void rip_interfaces_clean(void);
|
||||
extern void rip_interfaces_reset(void);
|
||||
extern int rip_passive_nondefault_set(const char *ifname);
|
||||
extern int rip_passive_nondefault_unset(const char *ifname);
|
||||
extern void rip_passive_nondefault_clean(void);
|
||||
extern void rip_if_init(void);
|
||||
extern void rip_if_down_all(void);
|
||||
extern void rip_route_map_init(void);
|
||||
extern void rip_route_map_reset(void);
|
||||
extern void rip_zclient_init(struct thread_master *);
|
||||
extern void rip_zclient_stop(void);
|
||||
extern void rip_zclient_reset(void);
|
||||
extern int if_check_address(struct in_addr addr);
|
||||
extern int rip_create(int socket);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user