mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-16 07:20:46 +00:00
Kernel: Take a copy of MACAddress in RoutingDecision
This commit is contained in:
parent
498f8c01a2
commit
302d521485
Notes:
sideshowbarker
2024-07-19 12:27:03 +09:00
Author: https://github.com/deoxxa
Commit: 302d521485
Pull-request: https://github.com/SerenityOS/serenity/pull/499
Reviewed-by: https://github.com/awesomekling
1 changed files with 1 additions and 1 deletions
|
@ -5,7 +5,7 @@
|
||||||
struct RoutingDecision
|
struct RoutingDecision
|
||||||
{
|
{
|
||||||
WeakPtr<NetworkAdapter> adapter;
|
WeakPtr<NetworkAdapter> adapter;
|
||||||
const MACAddress& next_hop;
|
MACAddress next_hop;
|
||||||
};
|
};
|
||||||
|
|
||||||
RoutingDecision route_to(const IPv4Address& target, const IPv4Address& source);
|
RoutingDecision route_to(const IPv4Address& target, const IPv4Address& source);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue