summaryrefslogtreecommitdiff
path: root/accel-pptpd/ctrl/pppoe/pppoe.c
diff options
context:
space:
mode:
Diffstat (limited to 'accel-pptpd/ctrl/pppoe/pppoe.c')
-rw-r--r--accel-pptpd/ctrl/pppoe/pppoe.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/accel-pptpd/ctrl/pppoe/pppoe.c b/accel-pptpd/ctrl/pppoe/pppoe.c
index 839c7169..b5a91895 100644
--- a/accel-pptpd/ctrl/pppoe/pppoe.c
+++ b/accel-pptpd/ctrl/pppoe/pppoe.c
@@ -1051,6 +1051,7 @@ void pppoe_server_start(const char *ifname, void *cli)
}
serv->ctx.close = pppoe_serv_close;
+ serv->ctx.before_switch = log_switch;
serv->hnd.fd = sock;
serv->hnd.read = pppoe_serv_read;
serv->ifname = _strdup(ifname);