1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-14 11:04:59 +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:
Maciej 2022-04-30 23:25:51 +02:00 committed by Andreas Kling
parent 06c90b35ec
commit 66ab4d61a4
4 changed files with 0 additions and 13 deletions

View file

@ -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 = [&]() {