summaryrefslogtreecommitdiff
path: root/accel-pppd/ctrl/sstp/sstp.c
diff options
context:
space:
mode:
Diffstat (limited to 'accel-pppd/ctrl/sstp/sstp.c')
-rw-r--r--accel-pppd/ctrl/sstp/sstp.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/accel-pppd/ctrl/sstp/sstp.c b/accel-pppd/ctrl/sstp/sstp.c
index 7f60e6de..d9def425 100644
--- a/accel-pppd/ctrl/sstp/sstp.c
+++ b/accel-pppd/ctrl/sstp/sstp.c
@@ -1568,7 +1568,8 @@ static int sstp_recv_msg_call_connected(struct sstp_conn_t *conn, struct sstp_ct
if (conn->ppp_state < STATE_AUTHORIZED) {
struct buffer_t *buf;
- log_warn("sstp: SSTP_MSG_CALL_CONNECTED is out of order, deferring...\n");
+ if (conf_verbose)
+ log_warn("sstp: SSTP_MSG_CALL_CONNECTED is out of order, deferring...\n");
buf = alloc_buf(sizeof(*msg));
if (!buf) {