summaryrefslogtreecommitdiff
path: root/accel-pppd/ctrl/pptp
diff options
context:
space:
mode:
authorKozlov Dmitry <xeb@mail.ru>2012-08-29 11:40:34 +0400
committerKozlov Dmitry <xeb@mail.ru>2012-08-29 11:40:34 +0400
commit28df233a46f2d136e8169d86ee62861a7c024eff (patch)
treea8d1131645c7f09fa276208895b31a5b3b2467bc /accel-pppd/ctrl/pptp
parent1872dd97822f406a2d54bd75ed8220092ec5d4fb (diff)
downloadaccel-ppp-28df233a46f2d136e8169d86ee62861a7c024eff.tar.gz
accel-ppp-28df233a46f2d136e8169d86ee62861a7c024eff.zip
add 'ppp' filed to CTRL to identify ppp sessions
Diffstat (limited to 'accel-pppd/ctrl/pptp')
-rw-r--r--accel-pppd/ctrl/pptp/pptp.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/accel-pppd/ctrl/pptp/pptp.c b/accel-pppd/ctrl/pptp/pptp.c
index dddf5edc..0fef12f4 100644
--- a/accel-pppd/ctrl/pptp/pptp.c
+++ b/accel-pppd/ctrl/pptp/pptp.c
@@ -671,6 +671,7 @@ static int pptp_connect(struct triton_md_handler_t *h)
conn->ctrl.terminate = ppp_terminate;
conn->ctrl.max_mtu = PPTP_MAX_MTU;
conn->ctrl.type = CTRL_TYPE_PPTP;
+ conn->ctrl.ppp = 1;
conn->ctrl.name = "pptp";
conn->ctrl.mppe = conf_mppe;