summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Kelley <simon@thekelleys.org.uk>2021-09-28 23:42:15 +0100
committerSimon Kelley <simon@thekelleys.org.uk>2021-09-28 23:42:15 +0100
commit2c60441239e1c10c4987cb586653b1ea08f703c0 (patch)
tree23cf30ea46f23fd7297274f96fc416d897a238cd
parentcbbd56c96583af043434af371f37e87fb80078e6 (diff)
downloaddnsmasq-2c60441239e1c10c4987cb586653b1ea08f703c0.tar.gz
Fix FTBFS when CONNTRACK and UBUS but not DNSSEC compile options selected.
-rw-r--r--src/dnsmasq.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/dnsmasq.h b/src/dnsmasq.h
index c8a918a..3fdc1b0 100644
--- a/src/dnsmasq.h
+++ b/src/dnsmasq.h
@@ -1173,9 +1173,12 @@ extern struct daemon {
char *packet; /* packet buffer */
int packet_buff_sz; /* size of above */
char *namebuff; /* MAXDNAME size buffer */
+#if (defined(HAVE_CONNTRACK) && defined(HAVE_UBUS)) || defined(HAVE_DNSSEC)
+ /* CONNTRACK UBUS code uses this buffer, as well as DNSSEC code. */
+ char *workspacename;
+#endif
#ifdef HAVE_DNSSEC
char *keyname; /* MAXDNAME size buffer */
- char *workspacename; /* ditto */
unsigned long *rr_status; /* ceiling in TTL from DNSSEC or zero for insecure */
int rr_status_sz;
int dnssec_no_time_check;