Skip to content

Commit 6edeefe

Browse files
setting dhcp acquired when dhcp server is informed of static ip
1 parent 6c5f0ea commit 6edeefe

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

libraries/lwIpWrapper/src/CNetIf.cpp

+1
Original file line numberDiff line numberDiff line change
@@ -432,6 +432,7 @@ void CNetIf::config(IPAddress _ip, IPAddress _gw, IPAddress _nm) {
432432

433433
void CNetIf::dhcpNotUsed() {
434434
dhcp_inform(&this->ni);
435+
dhcp_acquired = true;
435436
}
436437

437438
bool CNetIf::isDhcpAcquired() {

0 commit comments

Comments
 (0)