summaryrefslogtreecommitdiff
path: root/accel-pptpd/cli/tcp.c
diff options
context:
space:
mode:
authorKozlov Dmitry <dima@server>2010-11-29 17:45:58 +0300
committerKozlov Dmitry <dima@server>2010-11-29 17:45:58 +0300
commitf96198bf149203e1ddca8f2c381cf4b9849cdda9 (patch)
treef4b4c10a7b489f693ecb6301d1584de22e4e90a5 /accel-pptpd/cli/tcp.c
parent3a293aabc6e43319761a1f3020559873aa714334 (diff)
downloadaccel-ppp-xebd-f96198bf149203e1ddca8f2c381cf4b9849cdda9.tar.gz
accel-ppp-xebd-f96198bf149203e1ddca8f2c381cf4b9849cdda9.zip
log: introduced additional log level (3) which shows only minimum of information messages
Diffstat (limited to 'accel-pptpd/cli/tcp.c')
-rw-r--r--accel-pptpd/cli/tcp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/accel-pptpd/cli/tcp.c b/accel-pptpd/cli/tcp.c
index f6d2011..405c389 100644
--- a/accel-pptpd/cli/tcp.c
+++ b/accel-pptpd/cli/tcp.c
@@ -236,7 +236,7 @@ static int serv_read(struct triton_md_handler_t *h)
continue;
}
- log_info("cli: tcp: new connection from %s\n", inet_ntoa(addr.sin_addr));
+ log_info2("cli: tcp: new connection from %s\n", inet_ntoa(addr.sin_addr));
if (fcntl(sock, F_SETFL, O_NONBLOCK)) {
log_error("cli: tcp: failed to set nonblocking mode: %s, closing connection...\n", strerror(errno));