mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-04-26 22:38:51 +00:00
Kernel: Stop exposing gateway field
It doesn't make sense after introduction of routing table which allows having multiple gateways for every interface, and isn't used by any of the userspace programs now.
This commit is contained in:
parent
06c90b35ec
commit
66ab4d61a4
Notes:
sideshowbarker
2024-07-17 11:25:07 +09:00
Author: https://github.com/sppmacd
Commit: 66ab4d61a4
Pull-request: https://github.com/SerenityOS/serenity/pull/13857
Reviewed-by: https://github.com/brapru
4 changed files with 0 additions and 13 deletions
|
@ -67,7 +67,6 @@ void NetworkTask_main(void*)
|
|||
if (adapter.class_name() == "LoopbackAdapter"sv) {
|
||||
adapter.set_ipv4_address({ 127, 0, 0, 1 });
|
||||
adapter.set_ipv4_netmask({ 255, 0, 0, 0 });
|
||||
adapter.set_ipv4_gateway({ 0, 0, 0, 0 });
|
||||
}
|
||||
|
||||
adapter.on_receive = [&]() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue