]> git.puffer.fish Git - mirror/frr.git/commitdiff
zebra: Fix function call in fuzzing code 2660/head
authorStephen Worley <sworley@cumulusnetworks.com>
Thu, 12 Jul 2018 16:39:13 +0000 (12:39 -0400)
committerStephen Worley <sworley@cumulusnetworks.com>
Thu, 12 Jul 2018 16:39:13 +0000 (12:39 -0400)
The fuzzing code was calling zebra_client_create which was refactored to zserv_client_create.

Signed-off-by: Stephen Worley <sworley@cumulusnetworks.com>
zebra/zserv.c

index 434a1507ae713004ed8ae053a5d490df2da4e422..b08da9cebd087102e5b618b48c874d3d3aed47d4 100644 (file)
@@ -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);