[PATCH 1/1] ppp: Add MAX_IPCP_FAILURE to avoid timeout quickly

2010-07-09 Thread Zhenhua Zhang
We use IPCP NAK response to stall the progress of acquiring the client IP address from DHCP server. So we need to increase the max failure of NAKs in IPCP handshaking. --- gatchat/ppp_cp.c |8 ++-- gatchat/ppp_cp.h |2 +- gatchat/ppp_ipcp.c | 10 +- gatchat/ppp_lcp.c |

Re: [PATCH 1/1] ppp: Add MAX_IPCP_FAILURE to avoid timeout quickly

2010-07-09 Thread Marcel Holtmann
Hi Zhenhua, We use IPCP NAK response to stall the progress of acquiring the client IP address from DHCP server. So we need to increase the max failure of NAKs in IPCP handshaking. --- gatchat/ppp_cp.c |8 ++-- gatchat/ppp_cp.h |2 +- gatchat/ppp_ipcp.c | 10 +-

Re: [PATCH 1/1] ppp: Add MAX_IPCP_FAILURE to avoid timeout quickly

2010-07-09 Thread Marcel Holtmann
Hi Zhenhua, We use IPCP NAK response to stall the progress of acquiring the client IP address from DHCP server. So we need to increase the max failure of NAKs in IPCP handshaking. --- gatchat/ppp_cp.c |8 ++-- gatchat/ppp_cp.h |2 +- gatchat/ppp_ipcp.c | 10 +-