network: fix log message

Use passed message string, rather than fixed "Forgetting".

Follow-up for a4feabd85d.
This commit is contained in:
Yu Watanabe
2026-06-11 16:32:25 +02:00
committed by Zbigniew Jędrzejewski-Szmek
parent 55ba38cefc
commit ff88bc06b4
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -268,7 +268,7 @@ static void neighbor_forget(Link *link, Neighbor *neighbor, const char *msg) {
return;
neighbor_enter_removed(neighbor);
log_neighbor_debug(neighbor, "Forgetting", link);
log_neighbor_debug(neighbor, msg, link);
neighbor_detach(neighbor);
}
+1 -1
View File
@@ -564,7 +564,7 @@ static void routing_policy_rule_forget(Manager *manager, RoutingPolicyRule *rule
return;
routing_policy_rule_enter_removed(rule);
log_routing_policy_rule_debug(rule, "Forgetting", NULL, manager);
log_routing_policy_rule_debug(rule, msg, NULL, manager);
routing_policy_rule_detach(rule);
}