mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-06 00:25:12 +00:00
Kernel/Net: Make interfaces to have persistent names
There's no good reason to distinguish between network interfaces based on their model. It's probably a good idea to try keep the names more persistent so scripts written for a specific network interface will be useable after hotplug event (or after rebooting with new hardware setup).
This commit is contained in:
@@ -18,7 +18,7 @@ LoopbackAdapter& LoopbackAdapter::the()
|
||||
|
||||
LoopbackAdapter::LoopbackAdapter()
|
||||
{
|
||||
set_interface_name("loop");
|
||||
set_loopback_name();
|
||||
set_mtu(65536);
|
||||
set_mac_address({ 19, 85, 2, 9, 0x55, 0xaa });
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user