Skip to content

Commit

Permalink
setting dhcp acquired when dhcp server is informed of static ip
Browse files Browse the repository at this point in the history
  • Loading branch information
andreagilardoni committed Jan 24, 2024
1 parent 6c5f0ea commit 6edeefe
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions libraries/lwIpWrapper/src/CNetIf.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -432,6 +432,7 @@ void CNetIf::config(IPAddress _ip, IPAddress _gw, IPAddress _nm) {

void CNetIf::dhcpNotUsed() {
dhcp_inform(&this->ni);
dhcp_acquired = true;
}

bool CNetIf::isDhcpAcquired() {
Expand Down

0 comments on commit 6edeefe

Please sign in to comment.