diff options
author | Libor Peltan <libor.peltan@nic.cz> | 2019-12-18 12:52:40 +0100 |
---|---|---|
committer | Daniel Salzman <daniel.salzman@nic.cz> | 2020-04-21 18:43:10 +0200 |
commit | 54799e8516ac71757450b7c245210d07ea69090a (patch) | |
tree | f454941562e615ee13bd1a64ad91768e1803e304 /tests-fuzz | |
parent | xdp: conditional compilation of xdp support (diff) | |
download | knot-54799e8516ac71757450b7c245210d07ea69090a.tar.xz knot-54799e8516ac71757450b7c245210d07ea69090a.zip |
server: ifaces are array not list
Diffstat (limited to 'tests-fuzz')
-rw-r--r-- | tests-fuzz/knotd_wrap/udp-handler.c | 3 |
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 |