Fix compilation when IPv6 is not supported (#19260)

This commit is contained in:
s-hadinger 2023-08-05 10:17:56 +02:00 committed by GitHub
parent 362326f004
commit 70ced65aaf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -76,8 +76,8 @@ public:
void scrubDNS(void);
protected:
ip_addr_t dns_save4[DNS_MAX_SERVERS] = {}; // IPv4 DNS servers
#ifdef USE_IPV6
ip_addr_t dns_save4[DNS_MAX_SERVERS] = {}; // IPv4 DNS servers
ip_addr_t dns_save6[DNS_MAX_SERVERS] = {}; // IPv6 DNS servers
#endif // USE_IPV6
};