diff --git a/src/netif/ppp/options.c b/src/netif/ppp/options.c index b0f3fdc3..29f64800 100644 --- a/src/netif/ppp/options.c +++ b/src/netif/ppp/options.c @@ -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 */ diff --git a/src/netif/ppp/ppp.c b/src/netif/ppp/ppp.c index 12ee1065..bae0784d 100644 --- a/src/netif/ppp/ppp.c +++ b/src/netif/ppp/ppp.c @@ -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 */