summaryrefslogtreecommitdiffstats
path: root/zebra/zebra_ptm.c
diff options
context:
space:
mode:
authorQuentin Young <qlyoung@cumulusnetworks.com>2018-04-23 04:10:54 +0200
committerQuentin Young <qlyoung@cumulusnetworks.com>2018-04-23 04:50:25 +0200
commitd8647095529884ad1d15e4966eb9cd69f5edb66c (patch)
tree70e4f813a0e2f47ad9c05ed950e573372e19cdd2 /zebra/zebra_ptm.c
parentzebra: use hooks for client lifecycle callbacks (diff)
downloadfrr-d8647095529884ad1d15e4966eb9cd69f5edb66c.tar.xz
frr-d8647095529884ad1d15e4966eb9cd69f5edb66c.zip
zebra: cleanup for zapi_msg.c split
* Rename client_connect and client_close hooks to zapi_client_connect and zapi_client_close * Remove some more unnecessary headers * Fix a copy-paste error in zapi_msg.[ch] header comments * Fix an inclusion comment in zserv.c Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
Diffstat (limited to 'zebra/zebra_ptm.c')
-rw-r--r--zebra/zebra_ptm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/zebra/zebra_ptm.c b/zebra/zebra_ptm.c
index 1c4f0ec84..f8b5a97ff 100644
--- a/zebra/zebra_ptm.c
+++ b/zebra/zebra_ptm.c
@@ -126,7 +126,7 @@ void zebra_ptm_init(void)
ptm_cb.ptm_sock = -1;
- hook_register(client_close, zebra_ptm_bfd_client_deregister);
+ hook_register(zapi_client_close, zebra_ptm_bfd_client_deregister);
}
void zebra_ptm_finish(void)