diff options
| author | Kozlov Dmitry <dima@server> | 2010-12-06 17:33:09 +0300 |
|---|---|---|
| committer | Kozlov Dmitry <dima@server> | 2010-12-06 17:33:09 +0300 |
| commit | deecc72f6a96153d93dccd547177676bc878a3f3 (patch) | |
| tree | 72f648a13c2458f2715db2c366f9eb52eeb47623 /accel-pptpd/cli | |
| parent | bdf38bdf25400e175d8b20c087c9919199fe8b6e (diff) | |
| download | accel-ppp-deecc72f6a96153d93dccd547177676bc878a3f3.tar.gz accel-ppp-deecc72f6a96153d93dccd547177676bc878a3f3.zip | |
switch logs on contexts which dosn't handles ppp too so potential race conditions may be arised
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 405c389..435752a 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 4a2b93f..e46630f 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 = { |
