mirror of
https://github.com/lwip-tcpip/lwip.git
synced 2024-09-13 02:05:43 +00:00
moved debug option from options.c to ppp.c
This commit is contained in:
parent
6db3026d47
commit
fb396b8fac
@ -81,11 +81,13 @@
|
||||
char *strdup (char *);
|
||||
#endif
|
||||
|
||||
#if 0
|
||||
struct option_value {
|
||||
struct option_value *next;
|
||||
const char *source;
|
||||
char value[1];
|
||||
};
|
||||
#endif
|
||||
|
||||
/*
|
||||
* Option variables and default values.
|
||||
@ -142,13 +144,17 @@ struct bpf_program pass_filter;/* Filter program for packets to pass */
|
||||
struct bpf_program active_filter; /* Filter program for link-active pkts */
|
||||
#endif
|
||||
|
||||
#if 0
|
||||
char *current_option; /* the name of the option being parsed */
|
||||
int privileged_option; /* set iff the current option came from root */
|
||||
char *option_source; /* string saying where the option came from */
|
||||
#endif
|
||||
#if 0 /* UNUSED */
|
||||
int option_priority = OPRIO_CFGFILE; /* priority of the current options */
|
||||
#endif /* UNUSED */
|
||||
#if 0
|
||||
bool devnam_fixed; /* can no longer change device name */
|
||||
#endif
|
||||
|
||||
#if 0 /* UNUSED */
|
||||
static int logfile_fd = -1; /* fd opened for log file */
|
||||
|
@ -150,6 +150,7 @@
|
||||
*/
|
||||
/* FIXME: global variables per PPP session */
|
||||
/* FIXME: clean global variables */
|
||||
int debug = 0; /* Debug flag */
|
||||
int phase; /* where the link is at */
|
||||
int error_count; /* # of times error() has been called */
|
||||
int unsuccess; /* # unsuccessful connection attempts */
|
||||
|
Loading…
Reference in New Issue
Block a user