mirror of
https://github.com/NLnetLabs/unbound.git
synced 2026-09-28 20:54:53 +02:00
- Fix compile of interface check code when dnscrypt or quic is
disabled.
This commit is contained in:
@@ -3,6 +3,10 @@
|
||||
protocols.
|
||||
- Port to string only when needed before getaddrinfo().
|
||||
|
||||
21 January 2025: Wouter
|
||||
- Fix compile of interface check code when dnscrypt or quic is
|
||||
disabled.
|
||||
|
||||
20 January 2025: Yorgos
|
||||
- Merge #1222: Unique DoT and DoH SSL contexts to allow for different
|
||||
ALPN.
|
||||
|
||||
+2
-2
@@ -2817,7 +2817,7 @@ if_is_dnscrypt(const char* ifname, int default_port, int dnscrypt_port)
|
||||
return if_listens_on(ifname, default_port, dnscrypt_port, NULL);
|
||||
#else
|
||||
(void)ifname;
|
||||
(void)port;
|
||||
(void)default_port;
|
||||
(void)dnscrypt_port;
|
||||
return 0;
|
||||
#endif
|
||||
@@ -2830,7 +2830,7 @@ if_is_quic(const char* ifname, int default_port, int quic_port)
|
||||
return if_listens_on(ifname, default_port, quic_port, NULL);
|
||||
#else
|
||||
(void)ifname;
|
||||
(void)port;
|
||||
(void)default_port;
|
||||
(void)quic_port;
|
||||
return 0;
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user