From: Stephen Worley Date: Thu, 12 Jul 2018 16:39:13 +0000 (-0400) Subject: zebra: Fix function call in fuzzing code X-Git-Tag: frr-6.1-dev~174^2 X-Git-Url: https://git.puffer.fish/?a=commitdiff_plain;h=24f8f9791ec0306a35755496e143d80e0efd5a66;p=matthieu%2Ffrr.git zebra: Fix function call in fuzzing code The fuzzing code was calling zebra_client_create which was refactored to zserv_client_create. Signed-off-by: Stephen Worley --- diff --git a/zebra/zserv.c b/zebra/zserv.c index 434a1507ae..b08da9cebd 100644 --- a/zebra/zserv.c +++ b/zebra/zserv.c @@ -69,7 +69,7 @@ extern struct zebra_privs_t zserv_privs; * Client thread events. * * These are used almost exclusively by client threads to drive their own event - * loops. The only exception is in zebra_client_create(), which pushes an + * loops. The only exception is in zserv_client_create(), which pushes an * initial ZSERV_CLIENT_READ event to start the API handler loop. */ enum zserv_client_event { @@ -1025,7 +1025,7 @@ void zserv_read_file(char *input) struct zserv *client = NULL; struct thread t; - zebra_client_create(-1); + zserv_client_create(-1); frr_pthread_stop(client->pthread, NULL); frr_pthread_destroy(client->pthread);