summaryrefslogtreecommitdiffstats
path: root/usr.sbin/ppp/defs.h
diff options
context:
space:
mode:
authorbrian <brian@FreeBSD.org>1997-04-21 01:02:02 +0000
committerbrian <brian@FreeBSD.org>1997-04-21 01:02:02 +0000
commitad4ab187936a54f3a8329d804592f12284e6c176 (patch)
tree7b87206f10e0b3c6831b1d1b453f11c55a48e172 /usr.sbin/ppp/defs.h
parentca8a9db2701fdcbcc35546f2de8867e0b669e7bc (diff)
downloadFreeBSD-src-ad4ab187936a54f3a8329d804592f12284e6c176.zip
FreeBSD-src-ad4ab187936a54f3a8329d804592f12284e6c176.tar.gz
Add a reconnect capability directing ppp to re-establish
the connection after an unexpected loss of carrier: set reconnect timer ntries The man page warns against using this command when your timeout value is slightly more than the other sides :{} Suggested by: burton@bsampley.vip.best.com (Burton Sampley)
Diffstat (limited to 'usr.sbin/ppp/defs.h')
-rw-r--r--usr.sbin/ppp/defs.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/usr.sbin/ppp/defs.h b/usr.sbin/ppp/defs.h
index 5a9533f..edcc665 100644
--- a/usr.sbin/ppp/defs.h
+++ b/usr.sbin/ppp/defs.h
@@ -15,7 +15,7 @@
* IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
* WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
*
- * $Id: defs.h,v 1.10 1997/02/22 16:10:10 peter Exp $
+ * $Id: defs.h,v 1.11 1997/04/14 23:48:13 brian Exp $
*
* TODO:
*/
@@ -46,6 +46,8 @@
#define SERVER_PORT 3000 /* Base server port no. */
#define MODEM_CTSRTS TRUE /* Default (true): use CTS/RTS signals */
+#define RECONNECT_TIMER 3 /* Default timer for carrier loss */
+#define RECONNECT_TRIES 0 /* Default retries on carrier loss */
#define REDIAL_PERIOD 30 /* Default Hold time to redial */
#define NEXT_REDIAL_PERIOD 3 /* Default Hold time to next number redial */
OpenPOWER on IntegriCloud