Skip to content

Commit 91183ca

Browse files
authored
LwipIntfDev - disconnect()/end() should not clear static IP settings (#1866)
1 parent 971c235 commit 91183ca

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libraries/lwIP_Ethernet/src/LwipIntfDev.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -400,7 +400,7 @@ void LwipIntfDev<RawDev>::end() {
400400
RawDev::end();
401401

402402
netif_remove(&_netif);
403-
memset(&_netif, 0, sizeof(_netif));
403+
404404
_started = false;
405405
}
406406

0 commit comments

Comments
 (0)