mirror of
https://github.com/haproxy/haproxy.git
synced 2026-06-04 14:25:57 -04:00
[BUG] session: src_conn_cur was returning src_conn_cnt instead
Issue reported by Cory Forsyth and diagnosed by Cyril Bont. Just a plain stupid copy-paste of the wrong fetch function call.
This commit is contained in:
parent
a1525cdf17
commit
1b6e608c11
1 changed files with 1 additions and 1 deletions
|
|
@ -2533,7 +2533,7 @@ acl_fetch_src_conn_cur(struct proxy *px, struct session *l4, void *l7, int dir,
|
|||
if (!px)
|
||||
return 0; /* table not found */
|
||||
|
||||
return acl_fetch_conn_cnt(&px->table, test, stktable_lookup_key(&px->table, key));
|
||||
return acl_fetch_conn_cur(&px->table, test, stktable_lookup_key(&px->table, key));
|
||||
}
|
||||
|
||||
/* set test->i to the cumulated number of sessions in the stksess entry <ts> */
|
||||
|
|
|
|||
Loading…
Reference in a new issue