summaryrefslogtreecommitdiff
path: root/accel-pptpd/ctrl
diff options
context:
space:
mode:
authorKozlov Dmitry <dima@server>2010-11-16 18:20:56 +0300
committerKozlov Dmitry <dima@server>2010-11-16 18:20:56 +0300
commitddad202eca1c0a1d95321bd396df0dda01620a2b (patch)
tree188c8a0e9d019a338a386e3784afa4eff8daee50 /accel-pptpd/ctrl
parente95fc28b08669e329916e1cf1eb52fa462ad655a (diff)
downloadaccel-ppp-ddad202eca1c0a1d95321bd396df0dda01620a2b.tar.gz
accel-ppp-ddad202eca1c0a1d95321bd396df0dda01620a2b.zip
echo messaged moved to debug log level
Diffstat (limited to 'accel-pptpd/ctrl')
-rw-r--r--accel-pptpd/ctrl/pptp/pptp.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/accel-pptpd/ctrl/pptp/pptp.c b/accel-pptpd/ctrl/pptp/pptp.c
index 41c52c37..a07b21e3 100644
--- a/accel-pptpd/ctrl/pptp/pptp.c
+++ b/accel-pptpd/ctrl/pptp/pptp.c
@@ -386,8 +386,8 @@ static int pptp_echo_rqst(struct pptp_conn_t *conn)
};
if (conf_verbose) {
- log_ppp_info("recv [PPTP Echo-Request <Identifier %x>]\n", in_msg->identifier);
- log_ppp_info("send [PPTP Echo-Reply <Identifier %x>]\n", out_msg.identifier);
+ log_ppp_debug("recv [PPTP Echo-Request <Identifier %x>]\n", in_msg->identifier);
+ log_ppp_debug("send [PPTP Echo-Reply <Identifier %x>]\n", out_msg.identifier);
}
return post_msg(conn, &out_msg, sizeof(out_msg));
@@ -398,7 +398,7 @@ static int pptp_echo_rply(struct pptp_conn_t *conn)
struct pptp_echo_rply *msg = (struct pptp_echo_rply *)conn->in_buf;
if (conf_verbose)
- log_ppp_info("recv [PPTP Echo-Reply <Identifier %x>]\n", msg->identifier);
+ log_ppp_debug("recv [PPTP Echo-Reply <Identifier %x>]\n", msg->identifier);
if (msg->identifier != conn->echo_sent) {
log_ppp_warn("pptp:echo: identifier mismatch\n");
@@ -424,7 +424,7 @@ static void pptp_send_echo(struct triton_timer_t *t)
msg.identifier = conn->echo_sent;
if (conf_verbose)
- log_ppp_info("send [PPTP Echo-Request <Identifier %x>]\n", msg.identifier);
+ log_ppp_debug("send [PPTP Echo-Request <Identifier %x>]\n", msg.identifier);
if (post_msg(conn, &msg, sizeof(msg)))
disconnect(conn);