diff options
Diffstat (limited to 'accel-pppd/ppp')
-rw-r--r-- | accel-pppd/ppp/ccp_mppe.c | 4 | ||||
-rw-r--r-- | accel-pppd/ppp/ppp.h | 1 |
2 files changed, 4 insertions, 1 deletions
diff --git a/accel-pppd/ppp/ccp_mppe.c b/accel-pppd/ppp/ccp_mppe.c index 90f9d838..388e2f6c 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; } diff --git a/accel-pppd/ppp/ppp.h b/accel-pppd/ppp/ppp.h index 18cb5c21..f831242f 100644 --- a/accel-pppd/ppp/ppp.h +++ b/accel-pppd/ppp/ppp.h @@ -114,6 +114,7 @@ struct ppp_t struct ipv6db_item_t *ipv6; char *ipv4_pool_name; char *ipv6_pool_name; + const char *comp; struct ppp_ctrl_t *ctrl; |