diff options
Diffstat (limited to 'tests-fuzz')
-rw-r--r-- | tests-fuzz/knotd_wrap/knot_stdio.conf | 3 | ||||
-rw-r--r-- | tests-fuzz/knotd_wrap/server.c | 6 |
2 files changed, 7 insertions, 2 deletions
diff --git a/tests-fuzz/knotd_wrap/knot_stdio.conf b/tests-fuzz/knotd_wrap/knot_stdio.conf index b4aa084de..b5032a72e 100644 --- a/tests-fuzz/knotd_wrap/knot_stdio.conf +++ b/tests-fuzz/knotd_wrap/knot_stdio.conf @@ -8,6 +8,9 @@ log: - target: stderr any: info +database: + storage: /tmp/knotd-fuzz/storage + template: - id: default storage: /tmp/knotd-fuzz/storage diff --git a/tests-fuzz/knotd_wrap/server.c b/tests-fuzz/knotd_wrap/server.c index 9a34ef734..fc37fbcb4 100644 --- a/tests-fuzz/knotd_wrap/server.c +++ b/tests-fuzz/knotd_wrap/server.c @@ -1,4 +1,4 @@ -/* Copyright (C) 2018 CZ.NIC, z.s.p.o. <knot-dns@labs.nic.cz> +/* Copyright (C) 2021 CZ.NIC, z.s.p.o. <knot-dns@labs.nic.cz> This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -20,8 +20,10 @@ extern void udp_master_init_stdio(server_t *server); -void server_reconfigure(conf_t *conf, server_t *server) +int server_reconfigure(conf_t *conf, server_t *server) { orig_server_reconfigure(conf, server); udp_master_init_stdio(server); + + return KNOT_EOK; } |