Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
proto_str = zebra_route_string(proto);
/* lookup the client to relay the msg to */
- zserv = zebra_find_client(proto, instance);
+ zserv = zserv_find_client(proto, instance);
if (!zserv) {
zlog_err(
"Error relaying LM response: can't find client %s, instance %u",
#include "zebra/rt.h"
#include "zebra/zapi_msg.h"
#include "zebra/zebra_memory.h"
+#include "zebra/zserv.h"
/* definitions */
DEFINE_MTYPE_STATIC(ZEBRA, PBR_IPTABLE_IFNAME, "PBR interface list")
void zebra_pbr_init(void)
{
- hook_register(zapi_client_close, zebra_pbr_client_close_cleanup);
+ hook_register(zserv_client_close, zebra_pbr_client_close_cleanup);
}
static void *pbr_ipset_alloc_intern(void *arg)