PPP, fix comment about opt.h (moved to ppp_opts.h)

PPP defines were moved from opt.h to ppp_opts.h but comments
referencing opt.h in PPP were not updated.
This commit is contained in:
Sylvain Rochet 2016-06-23 23:17:39 +02:00
parent d133999e1d
commit 224d5a9f33
5 changed files with 11 additions and 11 deletions

View File

@ -148,12 +148,12 @@ typedef struct eap_state {
/*
* Timeouts.
*/
#if 0 /* moved to opt.h */
#if 0 /* moved to ppp_opts.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 */
#endif /* moved to ppp_opts.h */
void eap_authwithpeer(ppp_pcb *pcb, const char *localname);
void eap_authpeer(ppp_pcb *pcb, const char *localname);

View File

@ -150,12 +150,12 @@ typedef struct fsm_callbacks {
/*
* Timeouts.
*/
#if 0 /* moved to opt.h */
#if 0 /* moved to ppp_opts.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 */
#endif /* moved to ppp_opts.h */
/*

View File

@ -90,11 +90,11 @@
/* Value used as data for CI_CALLBACK option */
#define CBCP_OPT 6 /* Use callback control protocol */
#if 0 /* moved to opt.h */
#if 0 /* moved to ppp_opts.h */
#define DEFMRU 1500 /* Try for this */
#define MINMRU 128 /* No MRUs below this */
#define MAXMRU 16384 /* Normally limit MRU to this */
#endif /* moved to opt.h */
#endif /* moved to ppp_opts.h */
/* An endpoint discriminator, used with multilink. */
#define MAX_ENDP_LEN 20 /* maximum length of discriminator value */
@ -159,11 +159,11 @@ void lcp_sprotrej(ppp_pcb *pcb, u_char *p, int len); /* send protocol reject
extern const struct protent lcp_protent;
#if 0 /* moved to opt.h */
#if 0 /* moved to ppp_opts.h */
/* Default number of times we receive our magic number from the peer
before deciding the link is looped-back. */
#define DEFLOOPBACKFAIL 10
#endif /* moved to opt.h */
#endif /* moved to ppp_opts.h */
#endif /* LCP_H */
#endif /* PPP_SUPPORT */

View File

@ -47,7 +47,7 @@
#include "lwip/ip6_addr.h"
#endif /* PPP_IPV6_SUPPORT */
/* Disable non-working or rarely used PPP feature, so rarely that we don't want to bloat opt.h with them */
/* Disable non-working or rarely used PPP feature, so rarely that we don't want to bloat ppp_opts.h with them */
#ifndef PPP_OPTIONS
#define PPP_OPTIONS 0
#endif

View File

@ -88,10 +88,10 @@
/*
* Timeouts.
*/
#if 0 /* moved to opt.h */
#if 0 /* moved to ppp_opts.h */
#define UPAP_DEFTIMEOUT 3 /* Timeout (seconds) for retransmitting req */
#define UPAP_DEFREQTIME 30 /* Time to wait for auth-req from peer */
#endif /* moved to opt.h */
#endif /* moved to ppp_opts.h */
/*
* Each interface is described by upap structure.