Skip to content

Commit

Permalink
fix od_drop_obsolete_rule_connections_cb
Browse files Browse the repository at this point in the history
  • Loading branch information
NikitaUnisikhin committed Dec 19, 2023
1 parent c0ef212 commit a73e7a5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sources/router.c
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ static inline int od_drop_obsolete_rule_connections_cb(od_route_t *route,
assert(obsolete_rule);
if (strcmp(rule->user_name, obsolete_rule->usr_name) == 0 &&
strcmp(rule->db_name, obsolete_rule->db_name) == 0 &&
od_address_equals(&rule->address_range, &obsolete_rule->address_range)) {
od_address_range_equals(&rule->address_range, &obsolete_rule->address_range)) {
od_route_kill_client_pool(route);
return 0;
}
Expand Down

0 comments on commit a73e7a5

Please sign in to comment.