diff options
author | peter <peter@FreeBSD.org> | 1997-10-10 09:28:38 +0000 |
---|---|---|
committer | peter <peter@FreeBSD.org> | 1997-10-10 09:28:38 +0000 |
commit | 017c612e631166a1e7846b1bc4c174f13782bf45 (patch) | |
tree | 2e3475fe6b045cf1062757888ca973650e04f0a8 /usr.sbin/pppd/pppd.h | |
parent | 5f527a96c0db9dd8711084ae6f1c1f3dc18456bf (diff) | |
download | FreeBSD-src-017c612e631166a1e7846b1bc4c174f13782bf45.zip FreeBSD-src-017c612e631166a1e7846b1bc4c174f13782bf45.tar.gz |
Revive the connect-max-attempts option. When running in persist mode,
this limits the number of retries before aborting. This can save
expensive phone bills. :-) See rev 1.6 of main.c for original.
Diffstat (limited to 'usr.sbin/pppd/pppd.h')
-rw-r--r-- | usr.sbin/pppd/pppd.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.sbin/pppd/pppd.h b/usr.sbin/pppd/pppd.h index 88d1617..e1a63b7 100644 --- a/usr.sbin/pppd/pppd.h +++ b/usr.sbin/pppd/pppd.h @@ -16,7 +16,7 @@ * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE. * - * $Id: pppd.h,v 1.9 1997/08/19 17:52:46 peter Exp $ + * $Id: pppd.h,v 1.10 1997/10/10 06:02:57 peter Exp $ */ /* @@ -86,6 +86,7 @@ extern int nodetach; /* Don't detach from controlling tty */ extern char *connector; /* Script to establish physical link */ extern char *disconnector; /* Script to disestablish physical link */ extern char *welcomer; /* Script to welcome client after connection */ +extern int max_con_attempts;/* Maximum number of times to try dialing */ extern int maxconnect; /* Maximum connect time (seconds) */ extern char user[]; /* Our name for authenticating ourselves */ extern char passwd[]; /* Password for PAP */ |