Fix compile when IPv4 is disabled

This commit is contained in:
Dirk Ziegelmeier
2016-12-05 22:01:58 +01:00
parent a6bc422729
commit 1687721600
7 changed files with 14 additions and 8 deletions

View File

@@ -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