From 302d52148514cac35cb3eae3f2a85d37d8cdd8c9 Mon Sep 17 00:00:00 2001 From: Conrad Pankoff Date: Thu, 29 Aug 2019 11:18:32 +1000 Subject: [PATCH] Kernel: Take a copy of MACAddress in RoutingDecision --- Kernel/Net/Routing.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Kernel/Net/Routing.h b/Kernel/Net/Routing.h index 82ae87895b..131237336b 100644 --- a/Kernel/Net/Routing.h +++ b/Kernel/Net/Routing.h @@ -5,7 +5,7 @@ struct RoutingDecision { WeakPtr adapter; - const MACAddress& next_hop; + MACAddress next_hop; }; RoutingDecision route_to(const IPv4Address& target, const IPv4Address& source);