diff options
author | Kozlov Dmitry <dima@server> | 2011-05-16 15:30:42 +0400 |
---|---|---|
committer | Kozlov Dmitry <dima@server> | 2011-05-16 15:30:42 +0400 |
commit | d2cb39985cd33f5678cad3e68b69cca51894bd58 (patch) | |
tree | f6a58e00a2bd993cb72f041bf71a82e799c39dc1 /accel-pppd/ppp/ppp_fsm.c | |
parent | cac666a65bef987c6004acb70bb17c0393cc335f (diff) | |
download | accel-ppp-d2cb39985cd33f5678cad3e68b69cca51894bd58.tar.gz accel-ppp-d2cb39985cd33f5678cad3e68b69cca51894bd58.zip |
ppp: discard packets with invalid id before passing it to fsm
ppp: default fsm timeout increased to 3 sec.
ppp: accept LCP TermReq/TermAck packets in terminating phase
Diffstat (limited to 'accel-pppd/ppp/ppp_fsm.c')
-rw-r--r-- | accel-pppd/ppp/ppp_fsm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/accel-pppd/ppp/ppp_fsm.c b/accel-pppd/ppp/ppp_fsm.c index 0e27a78..01427a6 100644 --- a/accel-pppd/ppp/ppp_fsm.c +++ b/accel-pppd/ppp/ppp_fsm.c @@ -14,7 +14,7 @@ static int conf_max_terminate = 2; static int conf_max_configure = 10; static int conf_max_failure = 10; -static int conf_timeout = 1; +static int conf_timeout = 3; void send_term_req(struct ppp_fsm_t *layer); void send_term_ack(struct ppp_fsm_t *layer); |