- Fix compile of interface check code when dnscrypt or quic is

disabled.
This commit is contained in:
W.C.A. Wijngaards 2025-01-21 10:13:48 +01:00
parent 048c193243
commit 9a0de14aa1
2 changed files with 6 additions and 2 deletions

View file

@ -3,6 +3,10 @@
protocols. protocols.
- Port to string only when needed before getaddrinfo(). - 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 20 January 2025: Yorgos
- Merge #1222: Unique DoT and DoH SSL contexts to allow for different - Merge #1222: Unique DoT and DoH SSL contexts to allow for different
ALPN. ALPN.

View file

@ -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); return if_listens_on(ifname, default_port, dnscrypt_port, NULL);
#else #else
(void)ifname; (void)ifname;
(void)port; (void)default_port;
(void)dnscrypt_port; (void)dnscrypt_port;
return 0; return 0;
#endif #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); return if_listens_on(ifname, default_port, quic_port, NULL);
#else #else
(void)ifname; (void)ifname;
(void)port; (void)default_port;
(void)quic_port; (void)quic_port;
return 0; return 0;
#endif #endif