mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-10-18 19:41:08 +00:00
isisd: Fix zclient cleanup on shutdown
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
This commit is contained in:
parent
edaf6c016f
commit
8d429559df
@ -101,6 +101,7 @@ void sigusr1(void);
|
||||
static __attribute__((__noreturn__)) void
|
||||
terminate (int i)
|
||||
{
|
||||
isis_zebra_stop ();
|
||||
exit (i);
|
||||
}
|
||||
|
||||
|
@ -720,3 +720,10 @@ isis_zebra_init (struct thread_master *master)
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
void
|
||||
isis_zebra_stop (void)
|
||||
{
|
||||
zclient_stop (zclient);
|
||||
zclient_free (zclient);
|
||||
}
|
||||
|
@ -25,6 +25,8 @@
|
||||
extern struct zclient *zclient;
|
||||
|
||||
void isis_zebra_init(struct thread_master *);
|
||||
void isis_zebra_stop(void);
|
||||
|
||||
void isis_zebra_route_update (struct prefix *prefix,
|
||||
struct isis_route_info *route_info);
|
||||
int isis_distribute_list_update (int routetype);
|
||||
|
Loading…
Reference in New Issue
Block a user