summaryrefslogtreecommitdiff
blob: 402a42e19e0c67c14cff247386f90eaec3919429 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
https://bugs.gentoo.org/907997
https://github.com/NLnetLabs/nsd/issues/283
https://github.com/NLnetLabs/nsd/commit/f31d31ab1d45d615ebd192beaacac66746e0ff80

From f31d31ab1d45d615ebd192beaacac66746e0ff80 Mon Sep 17 00:00:00 2001
From: "W.C.A. Wijngaards" <wouter@nlnetlabs.nl>
Date: Wed, 7 Jun 2023 13:07:53 +0200
Subject: [PATCH] - Fix #283: Compile failure in remote.c when
 --disable-bind8-stats

--- a/remote.c
+++ b/remote.c
@@ -1246,7 +1246,9 @@ do_stats(struct daemon_remote* rc, int peek, struct rc_state* rs)
 	xfrd_set_reload_now(xfrd);
 #else
 	RES res;
+#ifdef HAVE_SSL
 	res.ssl = rs->ssl;
+#endif
 	res.fd = rs->fd;
 	(void)rc; (void)peek;
 	(void)ssl_printf(&res, "error no stats enabled at compile time\n");