diff options
Diffstat (limited to 'accel-pptpd/cli')
| -rw-r--r-- | accel-pptpd/cli/tcp.c | 1 | ||||
| -rw-r--r-- | accel-pptpd/cli/telnet.c | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/accel-pptpd/cli/tcp.c b/accel-pptpd/cli/tcp.c index 405c389c..435752aa 100644 --- a/accel-pptpd/cli/tcp.c +++ b/accel-pptpd/cli/tcp.c @@ -284,6 +284,7 @@ static void serv_close(struct triton_context_t *ctx) static struct triton_context_t serv_ctx = { .close = serv_close, + .before_switch = log_switch, }; static struct triton_md_handler_t serv_hnd = { diff --git a/accel-pptpd/cli/telnet.c b/accel-pptpd/cli/telnet.c index 4a2b93fb..e46630fa 100644 --- a/accel-pptpd/cli/telnet.c +++ b/accel-pptpd/cli/telnet.c @@ -572,6 +572,7 @@ static void serv_close(struct triton_context_t *ctx) static struct triton_context_t serv_ctx = { .close = serv_close, + .before_switch = log_switch, }; static struct triton_md_handler_t serv_hnd = { |
