mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-07-29 06:59:16 +00:00
Merge pull request #2660 from sworleys/master
zebra: Fix function call in fuzzing code
This commit is contained in:
commit
25666e25af
@ -69,7 +69,7 @@ extern struct zebra_privs_t zserv_privs;
|
|||||||
* Client thread events.
|
* Client thread events.
|
||||||
*
|
*
|
||||||
* These are used almost exclusively by client threads to drive their own event
|
* 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.
|
* initial ZSERV_CLIENT_READ event to start the API handler loop.
|
||||||
*/
|
*/
|
||||||
enum zserv_client_event {
|
enum zserv_client_event {
|
||||||
@ -1025,7 +1025,7 @@ void zserv_read_file(char *input)
|
|||||||
struct zserv *client = NULL;
|
struct zserv *client = NULL;
|
||||||
struct thread t;
|
struct thread t;
|
||||||
|
|
||||||
zebra_client_create(-1);
|
zserv_client_create(-1);
|
||||||
|
|
||||||
frr_pthread_stop(client->pthread, NULL);
|
frr_pthread_stop(client->pthread, NULL);
|
||||||
frr_pthread_destroy(client->pthread);
|
frr_pthread_destroy(client->pthread);
|
||||||
|
Loading…
Reference in New Issue
Block a user