TMXR: Count per line TCP sessions
This commit is contained in:
parent
abd756ebad
commit
92415062b5
1 changed files with 1 additions and 1 deletions
|
@ -1326,7 +1326,7 @@ for (i = 0; i < mp->lines; i++) { /* check each line in se
|
||||||
tmxr_debug_connect_line (lp, msg);
|
tmxr_debug_connect_line (lp, msg);
|
||||||
free (sockname);
|
free (sockname);
|
||||||
free (peername);
|
free (peername);
|
||||||
++mp->sessions; /* count the new session */
|
++lp->sessions; /* count the new session */
|
||||||
|
|
||||||
if (lp->acl) { /* Restrict connection with ACL rules? */
|
if (lp->acl) { /* Restrict connection with ACL rules? */
|
||||||
if (sim_addr_acl_check (address, lp->acl) != 0) {
|
if (sim_addr_acl_check (address, lp->acl) != 0) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue