network: fix log message
Use passed message string, rather than fixed "Forgetting".
Follow-up for a4feabd85d.
This commit is contained in:
committed by
Zbigniew Jędrzejewski-Szmek
parent
55ba38cefc
commit
ff88bc06b4
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user