summaryrefslogtreecommitdiff
path: root/Kernel/Net
diff options
context:
space:
mode:
authorConrad Pankoff <deoxxa@fknsrs.biz>2019-08-29 11:18:32 +1000
committerAndreas Kling <awesomekling@gmail.com>2019-08-29 06:25:06 +0200
commit302d52148514cac35cb3eae3f2a85d37d8cdd8c9 (patch)
tree70c69015418734b87ec7b00eafd7d0e1b390c06b /Kernel/Net
parent498f8c01a2c90e41c9f322ecf2c4202f0cb241e9 (diff)
downloadserenity-302d52148514cac35cb3eae3f2a85d37d8cdd8c9.zip
Kernel: Take a copy of MACAddress in RoutingDecision
Diffstat (limited to 'Kernel/Net')
-rw-r--r--Kernel/Net/Routing.h2
1 files changed, 1 insertions, 1 deletions
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<NetworkAdapter> adapter;
- const MACAddress& next_hop;
+ MACAddress next_hop;
};
RoutingDecision route_to(const IPv4Address& target, const IPv4Address& source);