summaryrefslogtreecommitdiff
path: root/accel-pptpd/ctrl/l2tp/l2tp.c
diff options
context:
space:
mode:
Diffstat (limited to 'accel-pptpd/ctrl/l2tp/l2tp.c')
-rw-r--r--accel-pptpd/ctrl/l2tp/l2tp.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/accel-pptpd/ctrl/l2tp/l2tp.c b/accel-pptpd/ctrl/l2tp/l2tp.c
index 2314748a..cb891b6e 100644
--- a/accel-pptpd/ctrl/l2tp/l2tp.c
+++ b/accel-pptpd/ctrl/l2tp/l2tp.c
@@ -1043,8 +1043,9 @@ static void l2tp_udp_close(struct triton_context_t *ctx)
static struct l2tp_serv_t udp_serv =
{
- .hnd.read=l2tp_udp_read,
- .ctx.close=l2tp_udp_close,
+ .hnd.read = l2tp_udp_read,
+ .ctx.close = l2tp_udp_close,
+ .ctx.before_switch = log_switch,
};
/*static struct l2tp_serv_t ip_serv =