Fix DHCP message

PUBLISHED_FROM=9efa7b516d0541e9f6f8002aa24cf7115f0d9b2b
This commit is contained in:
Deomid Ryabkov 2016-10-20 15:43:00 +03:00 committed by Cesanta Bot
parent 100480a1d5
commit ace1dc53b2

View File

@ -115,7 +115,7 @@ int main(void) {
} }
sys_check_timeouts(); sys_check_timeouts();
} while (ds != DHCP_BOUND); } while (ds != DHCP_BOUND);
printf("Waiting for DHCP...\n"); printf("DHCP bound.\n");
#else #else
ip_addr_t ip, nm, gw; ip_addr_t ip, nm, gw;
if (!ipaddr_aton(STATIC_IP, &ip) || !ipaddr_aton(STATIC_NM, &nm) || if (!ipaddr_aton(STATIC_IP, &ip) || !ipaddr_aton(STATIC_NM, &nm) ||