summaryrefslogtreecommitdiff
path: root/accel-pppd/ppp
diff options
context:
space:
mode:
authorroot <root@tt1.(none)>2012-10-11 16:46:16 +0200
committerKozlov Dmitry <xeb@mail.ru>2013-01-24 23:50:35 +0400
commit227298572c50013225752ff3af13ffc724d26ddf (patch)
treec23cd5875ef2069afc3ade17d2b702f283fe8f40 /accel-pppd/ppp
parent16ea2cdf30cf0ec046e7e1766659ffa27e63aa33 (diff)
downloadaccel-ppp-227298572c50013225752ff3af13ffc724d26ddf.tar.gz
accel-ppp-227298572c50013225752ff3af13ffc724d26ddf.zip
move 'comp' field from struct ppp_t to struct ap_session
Conflicts: accel-pppd/ctrl/openvpn/openvpn.c
Diffstat (limited to 'accel-pppd/ppp')
-rw-r--r--accel-pppd/ppp/ccp_mppe.c4
-rw-r--r--accel-pppd/ppp/ppp.h1
2 files changed, 2 insertions, 3 deletions
diff --git a/accel-pppd/ppp/ccp_mppe.c b/accel-pppd/ppp/ccp_mppe.c
index b24690b..68b95a6 100644
--- a/accel-pppd/ppp/ccp_mppe.c
+++ b/accel-pppd/ppp/ccp_mppe.c
@@ -220,9 +220,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";
+ ccp->ppp->ses.comp = "mppe";
} else
- ccp->ppp->comp = NULL;
+ ccp->ppp->ses.comp = NULL;
return CCP_OPT_ACK;
}
diff --git a/accel-pppd/ppp/ppp.h b/accel-pppd/ppp/ppp.h
index f5e0922..f07e028 100644
--- a/accel-pppd/ppp/ppp.h
+++ b/accel-pppd/ppp/ppp.h
@@ -64,7 +64,6 @@ struct ppp_t
struct list_head layers;
- const char *comp;
struct ppp_lcp_t *lcp;
};