mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-10-19 06:12:18 +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
|
static __attribute__((__noreturn__)) void
|
||||||
terminate (int i)
|
terminate (int i)
|
||||||
{
|
{
|
||||||
|
isis_zebra_stop ();
|
||||||
exit (i);
|
exit (i);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -720,3 +720,10 @@ isis_zebra_init (struct thread_master *master)
|
|||||||
|
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void
|
||||||
|
isis_zebra_stop (void)
|
||||||
|
{
|
||||||
|
zclient_stop (zclient);
|
||||||
|
zclient_free (zclient);
|
||||||
|
}
|
||||||
|
@ -25,6 +25,8 @@
|
|||||||
extern struct zclient *zclient;
|
extern struct zclient *zclient;
|
||||||
|
|
||||||
void isis_zebra_init(struct thread_master *);
|
void isis_zebra_init(struct thread_master *);
|
||||||
|
void isis_zebra_stop(void);
|
||||||
|
|
||||||
void isis_zebra_route_update (struct prefix *prefix,
|
void isis_zebra_route_update (struct prefix *prefix,
|
||||||
struct isis_route_info *route_info);
|
struct isis_route_info *route_info);
|
||||||
int isis_distribute_list_update (int routetype);
|
int isis_distribute_list_update (int routetype);
|
||||||
|
Loading…
Reference in New Issue
Block a user