summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuillaume Nault <g.nault@alphalink.fr>2014-03-28 21:05:13 +0100
committerDmitry Kozlov <xeb@mail.ru>2014-04-01 06:48:02 +0400
commitddeee1ee45e0704c432f2d430231729421f27b0f (patch)
tree2ad21413f79b99f88bb034505f900ba3e4ec7a0d
parent2c2977c2036b3b0e80a71337f2bdee5a14ac2823 (diff)
downloadaccel-ppp-ddeee1ee45e0704c432f2d430231729421f27b0f.tar.gz
accel-ppp-ddeee1ee45e0704c432f2d430231729421f27b0f.zip
l2tp: fix typos in log messages
* missing space char (l2tp_send_StopCCN) * missing new line char (l2tp_tunnel_create_session) Signed-off-by: Guillaume Nault <g.nault@alphalink.fr>
-rw-r--r--accel-pppd/ctrl/l2tp/l2tp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/accel-pppd/ctrl/l2tp/l2tp.c b/accel-pppd/ctrl/l2tp/l2tp.c
index 3cb2acb..1dc0666 100644
--- a/accel-pppd/ctrl/l2tp/l2tp.c
+++ b/accel-pppd/ctrl/l2tp/l2tp.c
@@ -440,7 +440,7 @@ static int l2tp_send_StopCCN(struct l2tp_conn_t *conn,
struct l2tp_packet_t *pack = NULL;
struct l2tp_avp_result_code rc = {htons(res), htons(err)};
- log_tunnel(log_info2, conn, "sending StopCCN (res: %hu, err:%hu)\n",
+ log_tunnel(log_info2, conn, "sending StopCCN (res: %hu, err: %hu)\n",
res, err);
pack = l2tp_packet_alloc(2, Message_Type_Stop_Ctrl_Conn_Notify,
@@ -3482,7 +3482,7 @@ static void l2tp_tunnel_create_session(void *data)
sess = l2tp_tunnel_alloc_session(conn);
if (sess == NULL) {
log_tunnel(log_error, conn, "impossible to create session:"
- " session allocation failed");
+ " session allocation failed\n");
return;
}
sid = sess->sid;