curvetun: Enhanced server connect and disconnect syslog messages58/head
commita1cf780cccc4819eb360cda1e0e94e17935cb8c7
authorScott Moeller <electronjoe@gmail.com>
Wed, 6 Mar 2013 05:49:48 +0000 (5 21:49 -0800)
committerScott Moeller <electronjoe@gmail.com>
Wed, 6 Mar 2013 06:04:21 +0000 (5 22:04 -0800)
treecd8bd1c1b3b10273966468c503380c82a4bbb229
parentd8c74acb4f3166947b0c385b322288ba7e1cdf09
curvetun: Enhanced server connect and disconnect syslog messages

Made the messages a bit clearer for the average user, who may
be unaware (or not care) that there are four file descriptors
always open in addition to the number of active connections.

Old connect/disconnect messages:
curvetun[25448]: New connection from 68.107.99.106:41208 with id 15 on CPU0, 5 active!
curvetun[25448]: Closed connection with id 15, 4 active!

New connect message:
curvetun[16247]: New connection from 68.107.99.106:36581 (1 active client connections) -  id 15 on CPU0
curvetun[16247]: Closed connection with id 15 (0 active client connections remain)
ct_server.c