smartdns: fix compile warnings for gcc 11.

This commit is contained in:
Nick Peng
2023-02-17 21:51:17 +08:00
parent 464bf28601
commit 694d093fc4
6 changed files with 21 additions and 1 deletions

View File

@@ -282,6 +282,7 @@ struct dns_servers {
int ttl;
dns_server_type_t type;
long long set_mark;
unsigned int drop_packet_latency_ms;
char skip_check_cert;
char spki[DNS_MAX_SPKI_LEN];
char hostname[DNS_MAX_CNAME_LEN];