mirror of
https://git.savannah.nongnu.org/git/lwip.git
synced 2026-05-21 23:56:59 +08:00
PPP, using timeouts values defined in opt.h instead of values defined in PPP headers or statically assigned values
This commit is contained in:
@@ -152,10 +152,12 @@ typedef struct fsm_callbacks {
|
||||
/*
|
||||
* Timeouts.
|
||||
*/
|
||||
#if 0 /* moved to opt.h */
|
||||
#define DEFTIMEOUT 3 /* Timeout time in seconds */
|
||||
#define DEFMAXTERMREQS 2 /* Maximum Terminate-Request transmissions */
|
||||
#define DEFMAXCONFREQS 10 /* Maximum Configure-Request transmissions */
|
||||
#define DEFMAXNAKLOOPS 5 /* Maximum number of nak loops */
|
||||
#endif /* moved to opt.h */
|
||||
|
||||
|
||||
/*
|
||||
|
||||
@@ -90,8 +90,8 @@
|
||||
*/
|
||||
#if 0 /* moved to opt.h */
|
||||
#define UPAP_DEFTIMEOUT 3 /* Timeout (seconds) for retransmitting req */
|
||||
#endif /* moved to opt.h */
|
||||
#define UPAP_DEFREQTIME 30 /* Time to wait for auth-req from peer */
|
||||
#endif /* moved to opt.h */
|
||||
|
||||
/*
|
||||
* Each interface is described by upap structure.
|
||||
|
||||
Reference in New Issue
Block a user