summaryrefslogtreecommitdiffstats
path: root/tests-fuzz/knotd_wrap/udp-handler.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests-fuzz/knotd_wrap/udp-handler.c')
-rw-r--r--tests-fuzz/knotd_wrap/udp-handler.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests-fuzz/knotd_wrap/udp-handler.c b/tests-fuzz/knotd_wrap/udp-handler.c
index a2bdf2941..00d70eb57 100644
--- a/tests-fuzz/knotd_wrap/udp-handler.c
+++ b/tests-fuzz/knotd_wrap/udp-handler.c
@@ -106,7 +106,8 @@ void udp_master_init_stdio(server_t *server) {
ifc->fd_udp[0] = STDIN_FILENO;
ifc->fd_udp_count = 1;
- add_tail(server->ifaces, (node_t *)ifc);
+ server->n_ifaces = 1;
+ server->ifaces = ifc;
udp_recvfrom_api = stdin_api;
#ifdef ENABLE_RECVMMSG