summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRostyslav Davydenko <fasdr@km.pl.ua>2012-11-12 16:37:27 +0400
committerKozlov Dmitry <xeb@mail.ru>2012-11-12 16:37:27 +0400
commitc0fe669f6e67917e0db6481a01e968ea8cee1d62 (patch)
treecb42d119ac06c311e6bf0919d13a5f56474ef221
parent28749c59a24b277ca3f6e1bdf262c54155126f2a (diff)
downloadaccel-ppp-c0fe669f6e67917e0db6481a01e968ea8cee1d62.tar.gz
accel-ppp-c0fe669f6e67917e0db6481a01e968ea8cee1d62.zip
Fix lcp echo with verbose parameter
-rw-r--r--accel-pppd/ppp/ppp_lcp.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/accel-pppd/ppp/ppp_lcp.c b/accel-pppd/ppp/ppp_lcp.c
index cf0d003c..e1727dee 100644
--- a/accel-pppd/ppp/ppp_lcp.c
+++ b/accel-pppd/ppp/ppp_lcp.c
@@ -682,10 +682,10 @@ static void send_echo_request(struct triton_timer_t *t)
return;
}
- if (conf_ppp_verbose) {
+ if (conf_ppp_verbose)
log_ppp_debug("send [LCP EchoReq id=%x <magic %x>]\n", msg.hdr.id, lcp->magic);
- ppp_chan_send(lcp->ppp,&msg,ntohs(msg.hdr.len)+2);
- }
+
+ ppp_chan_send(lcp->ppp,&msg,ntohs(msg.hdr.len)+2);
}
static void start_echo(struct ppp_lcp_t *lcp)