From d8a30e2ad28a927a142bead5b832ced5c7d6af78 Mon Sep 17 00:00:00 2001 From: Andreas Kling Date: Sun, 9 Feb 2020 12:03:07 +0100 Subject: [PATCH] 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. --- Kernel/Net/LoopbackAdapter.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/Kernel/Net/LoopbackAdapter.cpp b/Kernel/Net/LoopbackAdapter.cpp index 1e8c56f7845..bb32410d1ca 100644 --- a/Kernel/Net/LoopbackAdapter.cpp +++ b/Kernel/Net/LoopbackAdapter.cpp @@ -38,6 +38,7 @@ LoopbackAdapter::LoopbackAdapter() { set_interface_name("loop"); set_mtu(65536); + set_mac_address({ 19, 85, 2, 9, 0x55, 0xaa }); } LoopbackAdapter::~LoopbackAdapter()