]> git.puffer.fish Git - mirror/frr.git/commit
zebra: use hooks for client lifecycle callbacks
authorQuentin Young <qlyoung@cumulusnetworks.com>
Sun, 22 Apr 2018 21:03:52 +0000 (17:03 -0400)
committerQuentin Young <qlyoung@cumulusnetworks.com>
Mon, 23 Apr 2018 02:50:24 +0000 (22:50 -0400)
commit453844abd7bce28479d10490de513ca59cd0d490
tree7396f2ff275f5e8186975d819b3cc75a4b3b34bc
parentbf094f69758888e3bd555a24e91f3768bffbf31a
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>
16 files changed:
zebra/label_manager.c
zebra/label_manager.h
zebra/main.c
zebra/table_manager.c
zebra/table_manager.h
zebra/zapi_msg.c
zebra/zebra_mpls.c
zebra/zebra_mpls.h
zebra/zebra_ptm.c
zebra/zebra_ptm.h
zebra/zebra_pw.c
zebra/zebra_pw.h
zebra/zebra_rnh.c
zebra/zebra_rnh.h
zebra/zserv.c
zebra/zserv.h