PPP, moved EAP timeouts and max requests default values to opt.h

This commit is contained in:
Sylvain Rochet
2012-12-09 20:40:41 +01:00
parent defef2222a
commit 31d7293b17
2 changed files with 20 additions and 0 deletions

View File

@@ -149,10 +149,12 @@ typedef struct eap_state {
/*
* Timeouts.
*/
#if 0 /* moved to opt.h */
#define EAP_DEFTIMEOUT 3 /* Timeout (seconds) for rexmit */
#define EAP_DEFTRANSMITS 10 /* max # times to transmit */
#define EAP_DEFREQTIME 20 /* Time to wait for peer request */
#define EAP_DEFALLOWREQ 20 /* max # times to accept requests */
#endif /* moved to opt.h */
void eap_authwithpeer(ppp_pcb *pcb, char *localname);
void eap_authpeer(ppp_pcb *pcb, char *localname);