Issue reported by Cory Forsyth and diagnosed by Cyril Bonté.
Just a plain stupid copy-paste of the wrong fetch function call.
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> */