mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-07-25 07:28:41 +00:00
Merge pull request #4532 from donaldsharp/fuzzing
zebra: Fuzzing code has gotten a bit out of date
This commit is contained in:
commit
a1b82d0c66
@ -23,6 +23,7 @@
|
||||
#if defined(HANDLE_NETLINK_FUZZING)
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
#include "libfrr.h"
|
||||
#endif /* HANDLE_NETLINK_FUZZING */
|
||||
|
||||
#ifdef HAVE_NETLINK
|
||||
|
@ -1067,10 +1067,8 @@ DEFUN (show_zebra_client_summary,
|
||||
void zserv_read_file(char *input)
|
||||
{
|
||||
int fd;
|
||||
struct thread t;
|
||||
|
||||
fd = open(input, O_RDONLY | O_NONBLOCK);
|
||||
t.u.fd = fd;
|
||||
|
||||
zserv_client_create(fd);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user