diff options
-rw-r--r-- | accel-pptpd/ctrl/pptp/pptp.c | 8 | ||||
-rw-r--r-- | accel-pptpd/ppp/ppp_lcp.c | 8 |
2 files changed, 8 insertions, 8 deletions
diff --git a/accel-pptpd/ctrl/pptp/pptp.c b/accel-pptpd/ctrl/pptp/pptp.c index 41c52c3..a07b21e 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); diff --git a/accel-pptpd/ppp/ppp_lcp.c b/accel-pptpd/ppp/ppp_lcp.c index 0ea05ba..5416019 100644 --- a/accel-pptpd/ppp/ppp_lcp.c +++ b/accel-pptpd/ppp/ppp_lcp.c @@ -563,7 +563,7 @@ static void lcp_recv_echo_repl(struct ppp_lcp_t *lcp, uint8_t *data, int size) } if (conf_ppp_verbose) - log_ppp_info("recv [LCP EchoRep id=%x <magic %x>]\n", lcp->fsm.recv_id, magic); + log_ppp_debug("recv [LCP EchoRep id=%x <magic %x>]\n", lcp->fsm.recv_id, magic); if (magic == lcp->magic) { log_ppp_error("lcp: echo: loop-back detected\n"); @@ -582,7 +582,7 @@ static void send_echo_reply(struct ppp_lcp_t *lcp) *(uint32_t *)(hdr + 1) = lcp->magic; if (conf_ppp_verbose) - log_ppp_info("send [LCP EchoRep id=%x <magic %x>]\n", hdr->id, magic); + log_ppp_debug("send [LCP EchoRep id=%x <magic %x>]\n", hdr->id, magic); ppp_chan_send(lcp->ppp, hdr, ntohs(hdr->len) + 2); } @@ -607,7 +607,7 @@ static void send_echo_request(struct triton_timer_t *t) ppp_terminate(lcp->ppp, TERM_USER_ERROR, 0); } else { if (conf_ppp_verbose) - log_ppp_info("send [LCP EchoReq id=%x <magic %x>]\n", msg.hdr.id, msg.magic); + log_ppp_debug("send [LCP EchoReq id=%x <magic %x>]\n", msg.hdr.id, msg.magic); ppp_chan_send(lcp->ppp,&msg,ntohs(msg.hdr.len)+2); } } @@ -765,7 +765,7 @@ static void lcp_recv(struct ppp_handler_t*h) break; case ECHOREQ: if (conf_ppp_verbose) - log_ppp_info("recv [LCP EchoReq id=%x <magic %x>]\n", hdr->id, *(uint32_t*)(hdr + 1)); + log_ppp_debug("recv [LCP EchoReq id=%x <magic %x>]\n", hdr->id, *(uint32_t*)(hdr + 1)); send_echo_reply(lcp); break; case ECHOREP: |