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

Marcel Holtmann marcel at holtmann.org
Fri Jul 9 05:54:02 PDT 2010


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 +++++++++-
>  gatchat/ppp_lcp.c  |    2 +-
>  4 files changed, 17 insertions(+), 5 deletions(-)

patch has been applied. Thanks.

Regards

Marcel




More information about the ofono mailing list