summaryrefslogtreecommitdiff
path: root/accel-pptpd/ctrl/pptp/pptp.c
diff options
context:
space:
mode:
Diffstat (limited to 'accel-pptpd/ctrl/pptp/pptp.c')
-rw-r--r--accel-pptpd/ctrl/pptp/pptp.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/accel-pptpd/ctrl/pptp/pptp.c b/accel-pptpd/ctrl/pptp/pptp.c
index 8a1cbbeb..f7ffee00 100644
--- a/accel-pptpd/ctrl/pptp/pptp.c
+++ b/accel-pptpd/ctrl/pptp/pptp.c
@@ -680,8 +680,9 @@ static void pptp_serv_close(struct triton_context_t *ctx)
static struct pptp_serv_t serv=
{
- .hnd.read=pptp_connect,
- .ctx.close=pptp_serv_close,
+ .hnd.read = pptp_connect,
+ .ctx.close = pptp_serv_close,
+ .ctx.before_switch = log_switch,
};
static int show_stat_exec(const char *cmd, char * const *fields, int fields_cnt, void *client)