File tree Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -41,6 +41,7 @@ EthernetConnectionHandler::EthernetConnectionHandler(
41
41
bool const keep_alive)
42
42
: ConnectionHandler{keep_alive, NetworkAdapter::ETHERNET}
43
43
{
44
+ _settings.type = NetworkAdapter::ETHERNET;
44
45
memset (_settings.eth .ip .dword , 0 , sizeof (_settings.eth .ip .dword ));
45
46
memset (_settings.eth .dns .dword , 0 , sizeof (_settings.eth .dns .dword ));
46
47
memset (_settings.eth .gateway .dword , 0 , sizeof (_settings.eth .gateway .dword ));
@@ -54,6 +55,7 @@ EthernetConnectionHandler::EthernetConnectionHandler(
54
55
unsigned long const timeout, unsigned long const responseTimeout, bool const keep_alive)
55
56
: ConnectionHandler{keep_alive, NetworkAdapter::ETHERNET}
56
57
{
58
+ _settings.type = NetworkAdapter::ETHERNET;
57
59
fromIPAddress (ip, _settings.eth .ip );
58
60
fromIPAddress (dns, _settings.eth .dns );
59
61
fromIPAddress (gateway, _settings.eth .gateway );
You can’t perform that action at this time.
0 commit comments