summaryrefslogtreecommitdiffstats
path: root/usr.sbin/ppp/vars.c
diff options
context:
space:
mode:
authoramurai <amurai@FreeBSD.org>1995-10-08 14:57:32 +0000
committeramurai <amurai@FreeBSD.org>1995-10-08 14:57:32 +0000
commitc3dd7bc8c4ca398805d9de9926b5c543e1583de2 (patch)
tree6191ac0c05a48855f47ca8021db27f90e9e9df2b /usr.sbin/ppp/vars.c
parent99a5efe547ff58ca59949ed56537d97e3c60180e (diff)
downloadFreeBSD-src-c3dd7bc8c4ca398805d9de9926b5c543e1583de2.zip
FreeBSD-src-c3dd7bc8c4ca398805d9de9926b5c543e1583de2.tar.gz
1. Add a settable redial timer and logging of the process id in a file.
A settable redial timer helps to avoid the problem where both ends of a link want to dial at the same time and the line winds up busy for both ends. The process id is logged in /var/run/PPP.system where system is the name of the called system. When both ends of a link are running in demand dial mode, you need an easy way to get the pid of the ppp on the called end so it can be killed and re-started with -direct or pppd started to handle the incoming ppp session. 2. Add secret description for "set timeout" to man. Reviewed by: Atsushi Murai <amurai@spec.co.jp> Submitted by: John Capo <jc@irbs.com>
Diffstat (limited to 'usr.sbin/ppp/vars.c')
-rw-r--r--usr.sbin/ppp/vars.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.sbin/ppp/vars.c b/usr.sbin/ppp/vars.c
index 32168b2..4ebe682 100644
--- a/usr.sbin/ppp/vars.c
+++ b/usr.sbin/ppp/vars.c
@@ -17,7 +17,7 @@
* IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
* WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
*
- * $Id: vars.c,v 1.3 1995/05/30 03:51:01 rgrimes Exp $
+ * $Id: vars.c,v 1.5 1995/09/02 17:20:54 amurai Exp $
*
*/
#include "fsm.h"
@@ -29,7 +29,7 @@
#include "defs.h"
char VarVersion[] = "Version 0.94";
-char VarLocalVersion[] = "$Date$";
+char VarLocalVersion[] = "$Date: 1995/09/02 17:20:54 $";
/*
* Order of conf option is important. See vars.h.
@@ -48,7 +48,7 @@ struct confdesc pppConfs[] = {
struct pppvars pppVars = {
DEF_MRU, 0, MODEM_SPEED, CS8, 180, 30, 3,
- MODEM_DEV, OPEN_PASSIVE, LOCAL_NO_AUTH,
+ REDIAL_PERIOD, 1, MODEM_DEV, OPEN_PASSIVE, LOCAL_NO_AUTH,
};
int
OpenPOWER on IntegriCloud