]> git.ozlabs.org Git - ppp.git/blobdiff - pppd/options.c
make default maxfail 10
[ppp.git] / pppd / options.c
index 59c7b5b9f6e0353bc2335f7587633ea155bb0d9a..2571774974c05668e858be67ea02eae2e2a44fb5 100644 (file)
@@ -18,7 +18,7 @@
  */
 
 #ifndef lint
  */
 
 #ifndef lint
-static const char rcsid[] = "$Id: options.c,v 1.61 1999/08/12 04:17:07 paulus Exp $";
+static const char rcsid[] = "$Id: options.c,v 1.62 1999/08/12 04:25:10 paulus Exp $";
 #endif
 
 #include <ctype.h>
 #endif
 
 #include <ctype.h>
@@ -93,7 +93,7 @@ char  *record_file = NULL;    /* File to record chars sent/received */
 int    using_pty = 0;
 bool   sync_serial = 0;        /* Device is synchronous serial device */
 int    log_to_fd = 1;          /* send log messages to this fd too */
 int    using_pty = 0;
 bool   sync_serial = 0;        /* Device is synchronous serial device */
 int    log_to_fd = 1;          /* send log messages to this fd too */
-int    maxfail;                /* max # of unsuccessful connection attempts */
+int    maxfail = 10;           /* max # of unsuccessful connection attempts */
 
 extern option_t auth_options[];
 extern struct stat devstat;
 
 extern option_t auth_options[];
 extern struct stat devstat;