diff options
author | Quentin Young <qlyoung@cumulusnetworks.com> | 2018-04-22 23:03:52 +0200 |
---|---|---|
committer | Quentin Young <qlyoung@cumulusnetworks.com> | 2018-04-23 04:50:24 +0200 |
commit | 453844abd7bce28479d10490de513ca59cd0d490 (patch) | |
tree | 7396f2ff275f5e8186975d819b3cc75a4b3b34bc /zebra/label_manager.h | |
parent | zebra: clean up zapi organization (diff) | |
download | frr-453844abd7bce28479d10490de513ca59cd0d490.tar.xz frr-453844abd7bce28479d10490de513ca59cd0d490.zip |
zebra: use hooks for client lifecycle callbacks
zserv.c was using hardcoded callbacks to clean up various components
when a client disconnected. Ergo zserv.c had to know about all these
unrelated components that it should not care about. We have hooks now,
let's use the proper thing instead.
Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
Diffstat (limited to 'zebra/label_manager.h')
-rw-r--r-- | zebra/label_manager.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/zebra/label_manager.h b/zebra/label_manager.h index ddd933ba2..b99837222 100644 --- a/zebra/label_manager.h +++ b/zebra/label_manager.h @@ -71,7 +71,7 @@ struct label_manager_chunk *assign_label_chunk(uint8_t proto, uint8_t keep, uint32_t size); int release_label_chunk(uint8_t proto, unsigned short instance, uint32_t start, uint32_t end); -int release_daemon_label_chunks(uint8_t proto, unsigned short instance); +int release_daemon_label_chunks(struct zserv *client); void label_manager_close(void); #endif /* _LABEL_MANAGER_H */ |