mirror of
https://github.com/Fennix-Project/Kernel.git
synced 2025-07-11 07:19:20 +00:00
Updated network related code so now it should work as expected
This commit is contained in:
@ -57,7 +57,14 @@ namespace NetworkEthernet
|
||||
/** @brief Get driver interface
|
||||
* @return Driver interface
|
||||
*/
|
||||
NetworkInterfaceManager::DeviceInterface *GetInterface() { return this->Interface; }
|
||||
NetworkInterfaceManager::DeviceInterface *GetInterface()
|
||||
{
|
||||
netdbg("Interface: %#lx (MAC: %s; IPv4: %s; IPv6: %s)", this->Interface,
|
||||
this->Interface->MAC.ToString(),
|
||||
this->Interface->IP.v4.ToStringLittleEndian(),
|
||||
this->Interface->IP.v6.ToStringLittleEndian());
|
||||
return this->Interface;
|
||||
}
|
||||
|
||||
Ethernet(NetworkInterfaceManager::DeviceInterface *Interface);
|
||||
~Ethernet();
|
||||
|
Reference in New Issue
Block a user