mirror of
https://git.savannah.nongnu.org/git/lwip.git
synced 2026-08-10 17:43:39 +08:00
Fix compile when IPv4 is disabled
This commit is contained in:
@@ -688,7 +688,7 @@ sntp_getserver(u8_t idx)
|
||||
if (idx < SNTP_MAX_SERVERS) {
|
||||
return &sntp_servers[idx].addr;
|
||||
}
|
||||
return IP4_ADDR_ANY;
|
||||
return IP_ADDR_ANY;
|
||||
}
|
||||
|
||||
#if SNTP_SERVER_DNS
|
||||
|
||||
Reference in New Issue
Block a user