mirror of
https://github.com/NLnetLabs/unbound.git
synced 2025-12-20 23:00:56 -05:00
- Fix compile of interface check code when dnscrypt or quic is
disabled.
This commit is contained in:
parent
048c193243
commit
9a0de14aa1
2 changed files with 6 additions and 2 deletions
|
|
@ -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.
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue