summaryrefslogtreecommitdiff
path: root/accel-pptpd/ppp/ppp_lcp.c
diff options
context:
space:
mode:
authorKozlov Dmitry <dima@server>2010-09-27 13:27:12 +0400
committerKozlov Dmitry <dima@server>2010-09-27 13:27:12 +0400
commit59d9616d73973c529b08578f3596acaa081cd8bf (patch)
tree947fd1ab82c41beb57bba81e4e51ee5a4951bc6f /accel-pptpd/ppp/ppp_lcp.c
parentf122327288ae4429bb88a0fefdcef0bf80f54023 (diff)
downloadaccel-ppp-59d9616d73973c529b08578f3596acaa081cd8bf.tar.gz
accel-ppp-59d9616d73973c529b08578f3596acaa081cd8bf.zip
bug fixes
Diffstat (limited to 'accel-pptpd/ppp/ppp_lcp.c')
-rw-r--r--accel-pptpd/ppp/ppp_lcp.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/accel-pptpd/ppp/ppp_lcp.c b/accel-pptpd/ppp/ppp_lcp.c
index 7081cbb3..563936e9 100644
--- a/accel-pptpd/ppp/ppp_lcp.c
+++ b/accel-pptpd/ppp/ppp_lcp.c
@@ -85,7 +85,8 @@ static struct ppp_layer_data_t *lcp_layer_init(struct ppp_t *ppp)
lcp->hnd.recv=lcp_recv;
ppp_register_chan_handler(ppp,&lcp->hnd);
-
+
+ lcp->fsm.proto = PPP_LCP;
ppp_fsm_init(&lcp->fsm);
lcp->fsm.layer_up=lcp_layer_up;