Skip to content

Commit 157fa65

Browse files
authored
Merge pull request #2809 from geky/lwip-fix-default-dhcp
lwip - Fix default behaviour of DHCP
2 parents f93f484 + 358b7f0 commit 157fa65

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

features/net/FEATURE_IPV4/lwip-interface/EthernetInterface.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020

2121
/* Interface implementation */
2222
EthernetInterface::EthernetInterface()
23-
: _dhcp(false), _ip_address(), _netmask(), _gateway()
23+
: _dhcp(true), _ip_address(), _netmask(), _gateway()
2424
{
2525
}
2626

0 commit comments

Comments
 (0)