summaryrefslogtreecommitdiff
path: root/zebra/zserv.c
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@cumulusnetworks.com>2019-06-15 08:25:25 -0400
committerDonald Sharp <sharpd@cumulusnetworks.com>2019-06-15 08:25:25 -0400
commit96b43ab3ff2e0ea8a87fc7bbff3ad539cac9c5ef (patch)
tree695f233ec424cc8f58c8117fca5b47d715661845 /zebra/zserv.c
parentce746edebb88320af871d6e4bc42a8022f7c1da5 (diff)
zebra: Fuzzing code has gotten a bit out of date
Update the fuzzing code to compile again. Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'zebra/zserv.c')
-rw-r--r--zebra/zserv.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/zebra/zserv.c b/zebra/zserv.c
index 49fb302ba8..cb9ca6578b 100644
--- a/zebra/zserv.c
+++ b/zebra/zserv.c
@@ -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);
}