From d1f5ded1d98b962605ae16b23439c3879e2a381f Mon Sep 17 00:00:00 2001 From: Philip Homburg Date: Tue, 21 Feb 2023 09:21:24 +0100 Subject: [PATCH] ifdef CLIENT_SUBNET --- util/module.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/util/module.h b/util/module.h index 3752c8c33..7f41bb1ed 100644 --- a/util/module.h +++ b/util/module.h @@ -619,10 +619,12 @@ struct module_qstate { /** if this is a validation recursion query that does not get * validation itself */ int is_valrec; +#ifdef CLIENT_SUBNET /** client network address is needed for the client-subnet option * when probing, but we want use reply_list in mesh_info, because * we don't want to send a reply. */ struct sockaddr_storage client_addr; +#endif /** comm_reply contains server replies */ struct comm_reply* reply;