summaryrefslogtreecommitdiffstats
path: root/usr.sbin/ppp/command.c
diff options
context:
space:
mode:
authornate <nate@FreeBSD.org>1996-12-03 21:38:52 +0000
committernate <nate@FreeBSD.org>1996-12-03 21:38:52 +0000
commit8620fc8544ff62f29a19ab194cb21a092e314a97 (patch)
treebb44448442ea3de595c180ce0d9d0398f57509f7 /usr.sbin/ppp/command.c
parent1aa66460f8fa844a7fec1e9c9cf4bca3e5528b72 (diff)
downloadFreeBSD-src-8620fc8544ff62f29a19ab194cb21a092e314a97.zip
FreeBSD-src-8620fc8544ff62f29a19ab194cb21a092e314a97.tar.gz
Added my 'ddial' patches to user-PPP. The new mode tries it's darndest
to keep the link up, so it re-dials whenever it detects the link go down. This is useful for 'dedicated' links who use PPP. It's been used for over a year w/out problems at different sites.
Diffstat (limited to 'usr.sbin/ppp/command.c')
-rw-r--r--usr.sbin/ppp/command.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/usr.sbin/ppp/command.c b/usr.sbin/ppp/command.c
index c413a46..870ef44 100644
--- a/usr.sbin/ppp/command.c
+++ b/usr.sbin/ppp/command.c
@@ -17,7 +17,7 @@
* IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
* WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
*
- * $Id: command.c,v 1.23 1996/10/12 16:20:28 jkh Exp $
+ * $Id: command.c,v 1.24 1996/10/13 15:05:14 sos Exp $
*
*/
#include <sys/types.h>
@@ -102,7 +102,9 @@ IsInteractive()
{
char *mes = NULL;
- if (mode & MODE_AUTO)
+ if (mode & MODE_DDIAL)
+ mes = "Working in dedicated dial mode.";
+ else if (mode & MODE_AUTO)
mes = "Working in auto mode.";
else if (mode & MODE_DIRECT)
mes = "Working in direct mode.";
OpenPOWER on IntegriCloud