summaryrefslogtreecommitdiffstats
path: root/usr.sbin/ppp/defs.h
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/defs.h
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/defs.h')
-rw-r--r--usr.sbin/ppp/defs.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/ppp/defs.h b/usr.sbin/ppp/defs.h
index b5dc08a..c67971c 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.2 1995/02/26 12:17:25 amurai Exp $
+ * $Id: defs.h,v 1.3 1995/09/02 17:20:51 amurai Exp $
*
* TODO:
*/
@@ -45,7 +45,7 @@
#define MODEM_SPEED B38400 /* tty speed */
#define SERVER_PORT 3000 /* Base server port no. */
-#define REDIAL_PERIOD 30 /* Hold time to redial */
+#define REDIAL_PERIOD 30 /* Default Hold time to redial */
#define CONFFILE "ppp.conf"
#define LINKFILE "ppp.linkup"
OpenPOWER on IntegriCloud