]> git.ipfire.org Git - thirdparty/unbound.git/commitdiff
ifdef CLIENT_SUBNET
authorPhilip Homburg <philip@nlnetlabs.nl>
Tue, 21 Feb 2023 08:21:24 +0000 (09:21 +0100)
committerPhilip Homburg <philip@nlnetlabs.nl>
Tue, 21 Feb 2023 08:21:24 +0000 (09:21 +0100)
util/module.h

index 3752c8c335b3a46583fd3e7f9a6656915472f84e..7f41bb1ede2f070cb8bb2371fc9a4693be18069f 100644 (file)
@@ -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;