summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKozlov Dmitry <xeb@mail.ru>2012-08-15 11:36:13 +0400
committerKozlov Dmitry <xeb@mail.ru>2012-08-15 11:36:13 +0400
commit1afd5ed7eadf4fdb6f182bde2c2c25001d5bb74e (patch)
tree03ba4f6c302d1b5c435117297f30e9eb651f21f1
parent846f19f490b662c16a118f9807b3adcffc486694 (diff)
downloadaccel-ppp-1afd5ed7eadf4fdb6f182bde2c2c25001d5bb74e.tar.gz
accel-ppp-1afd5ed7eadf4fdb6f182bde2c2c25001d5bb74e.zip
l2tp: fixed missing ctrl.terminate assignment
-rw-r--r--accel-pppd/ctrl/l2tp/l2tp.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/accel-pppd/ctrl/l2tp/l2tp.c b/accel-pppd/ctrl/l2tp/l2tp.c
index b54e5e37..43b210ff 100644
--- a/accel-pppd/ctrl/l2tp/l2tp.c
+++ b/accel-pppd/ctrl/l2tp/l2tp.c
@@ -336,6 +336,7 @@ static int l2tp_tunnel_alloc(struct l2tp_serv_t *serv, struct l2tp_packet_t *pac
conn->ctrl.name = "l2tp";
conn->ctrl.started = l2tp_ppp_started;
conn->ctrl.finished = l2tp_ppp_finished;
+ conn->ctrl.terminate = ppp_terminate;
conn->ctrl.max_mtu = 1420;
conn->ctrl.mppe = conf_mppe;