mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-13 01:59:14 +03:00
Kernel/Routing: Hide some leftover debugging under a debug flag
This commit is contained in:
parent
6f04a3778b
commit
303be38f65
Notes:
sideshowbarker
2024-07-17 18:08:55 +09:00
Author: https://github.com/sppmacd Commit: https://github.com/SerenityOS/serenity/commit/303be38f65 Pull-request: https://github.com/SerenityOS/serenity/pull/14523
@ -153,7 +153,7 @@ ErrorOr<void> update_routing_table(IPv4Address const& destination, IPv4Address c
|
||||
}
|
||||
if (update == UpdateTable::Delete) {
|
||||
for (auto& route : table) {
|
||||
dbgln("candidate: {} {} {} {} {}", route.destination, route.gateway, route.netmask, route.flags, route.adapter);
|
||||
dbgln_if(ROUTING_DEBUG, "candidate: {} {} {} {} {}", route.destination, route.gateway, route.netmask, route.flags, route.adapter);
|
||||
if (route.matches(*route_entry)) {
|
||||
// FIXME: Remove all entries, not only the first one.
|
||||
table.remove(route);
|
||||
|
Loading…
Reference in New Issue
Block a user