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(
4141 bool const keep_alive)
4242: ConnectionHandler{keep_alive, NetworkAdapter::ETHERNET}
4343{
44+ _settings.type = NetworkAdapter::ETHERNET;
4445 memset (_settings.eth .ip .dword , 0 , sizeof (_settings.eth .ip .dword ));
4546 memset (_settings.eth .dns .dword , 0 , sizeof (_settings.eth .dns .dword ));
4647 memset (_settings.eth .gateway .dword , 0 , sizeof (_settings.eth .gateway .dword ));
@@ -54,6 +55,7 @@ EthernetConnectionHandler::EthernetConnectionHandler(
5455 unsigned long const timeout, unsigned long const responseTimeout, bool const keep_alive)
5556: ConnectionHandler{keep_alive, NetworkAdapter::ETHERNET}
5657{
58+ _settings.type = NetworkAdapter::ETHERNET;
5759 fromIPAddress (ip, _settings.eth .ip );
5860 fromIPAddress (dns, _settings.eth .dns );
5961 fromIPAddress (gateway, _settings.eth .gateway );
You can’t perform that action at this time.
0 commit comments