]> git.proxmox.com Git - mirror_frr.git/blobdiff - ripd/rip_zebra.c
Merge pull request #3464 from mjstapp/wq_event
[mirror_frr.git] / ripd / rip_zebra.c
index 2a56cd7b1b15750263b019757f0afe42558025e8..fff8681775a8c997f94b37272956d7b063cb6fae 100644 (file)
@@ -147,11 +147,6 @@ static int rip_zebra_read_route(int command, struct zclient *zclient,
        return 0;
 }
 
-void rip_zclient_reset(void)
-{
-       zclient_reset(zclient);
-}
-
 void rip_redistribute_conf_update(int type)
 {
        zclient_redistribute(ZEBRA_REDISTRIBUTE_ADD, zclient, AFI_IP, type,
@@ -211,7 +206,7 @@ static void rip_zebra_connected(struct zclient *zclient)
 void rip_zclient_init(struct thread_master *master)
 {
        /* Set default value to the zebra client structure. */
-       zclient = zclient_new_notify(master, &zclient_options_default);
+       zclient = zclient_new(master, &zclient_options_default);
        zclient_init(zclient, ZEBRA_ROUTE_RIP, 0, &ripd_privs);
        zclient->zebra_connected = rip_zebra_connected;
        zclient->interface_add = rip_interface_add;