mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 10:38:11 +00:00
Net: Give the LoopbackAdapter a MAC address
Since the routing code currently interprets an all-zero MAC address as an invalid next hop, let's give the loopback adapter an address.
This commit is contained in:
parent
67ccdbe384
commit
d8a30e2ad2
1 changed files with 1 additions and 0 deletions
|
@ -38,6 +38,7 @@ LoopbackAdapter::LoopbackAdapter()
|
|||
{
|
||||
set_interface_name("loop");
|
||||
set_mtu(65536);
|
||||
set_mac_address({ 19, 85, 2, 9, 0x55, 0xaa });
|
||||
}
|
||||
|
||||
LoopbackAdapter::~LoopbackAdapter()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue