diff options
author | Kozlov Dmitry <xeb@mail.ru> | 2012-05-14 23:06:11 +0400 |
---|---|---|
committer | Kozlov Dmitry <xeb@mail.ru> | 2012-05-14 23:06:11 +0400 |
commit | 6efad618371915bf0b402f26117a02ad53aaeb20 (patch) | |
tree | bb42d0b5cf81cfc2622ef72dbe33b60c154e5190 /accel-pppd/ppp/ccp_mppe.c | |
parent | 64c36cc7dc0beac13c715bb5dedc697861c1badf (diff) | |
download | accel-ppp-6efad618371915bf0b402f26117a02ad53aaeb20.tar.gz accel-ppp-6efad618371915bf0b402f26117a02ad53aaeb20.zip |
cli: add 'comp' field to 'show sessions' to indicate compression/encryption method
Diffstat (limited to 'accel-pppd/ppp/ccp_mppe.c')
-rw-r--r-- | accel-pppd/ppp/ccp_mppe.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/accel-pppd/ppp/ccp_mppe.c b/accel-pppd/ppp/ccp_mppe.c index 90f9d83..388e2f6 100644 --- a/accel-pppd/ppp/ccp_mppe.c +++ b/accel-pppd/ppp/ccp_mppe.c @@ -214,7 +214,9 @@ static int mppe_recv_conf_req(struct ppp_ccp_t *ccp, struct ccp_option_t *opt, u } log_ppp_debug(" (mppe enabled)"); - } + ccp->ppp->comp = "mppe"; + } else + ccp->ppp->comp = NULL; return CCP_OPT_ACK; } |