diff options
author | Dmitry Kozlov <xeb@mail.ru> | 2010-12-24 20:31:28 +0300 |
---|---|---|
committer | Dmitry Kozlov <xeb@mail.ru> | 2010-12-24 20:31:28 +0300 |
commit | 88db624127e11d4a1d1000a5ebcfb6757a05f3a4 (patch) | |
tree | 27c4d606175d36bda0f323fd8bc090a667132244 /accel-pptpd/triton/md.c | |
parent | 59f691793e9270026214abffceb06f64d365fee3 (diff) | |
download | accel-ppp-88db624127e11d4a1d1000a5ebcfb6757a05f3a4.tar.gz accel-ppp-88db624127e11d4a1d1000a5ebcfb6757a05f3a4.zip |
cli: show cpu and memory utilization in statistics
Diffstat (limited to 'accel-pptpd/triton/md.c')
-rw-r--r-- | accel-pptpd/triton/md.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/accel-pptpd/triton/md.c b/accel-pptpd/triton/md.c index 15ed9fcd..d8453896 100644 --- a/accel-pptpd/triton/md.c +++ b/accel-pptpd/triton/md.c @@ -124,7 +124,7 @@ void __export triton_md_register_handler(struct triton_context_t *ctx, struct tr if (ctx) h->ctx = (struct _triton_context_t *)ctx->tpd; else - h->ctx = (struct _triton_context_t *)default_ctx->tpd; + h->ctx = (struct _triton_context_t *)default_ctx.tpd; ud->tpd = h; spin_lock(&h->ctx->lock); list_add_tail(&h->entry, &h->ctx->handlers); |