summaryrefslogtreecommitdiffstats
path: root/usr.sbin/ppp
diff options
context:
space:
mode:
authorbrian <brian@FreeBSD.org>1997-11-13 12:09:57 +0000
committerbrian <brian@FreeBSD.org>1997-11-13 12:09:57 +0000
commit99989a60d8da6e7a8e19477321b8dcfd2c01de9c (patch)
tree8fb7b3a0388d2d15a3282c312ebd77f8a50de542 /usr.sbin/ppp
parente3252cb624c644e173e8e4e7ae946c1403e8ccec (diff)
downloadFreeBSD-src-99989a60d8da6e7a8e19477321b8dcfd2c01de9c.zip
FreeBSD-src-99989a60d8da6e7a8e19477321b8dcfd2c01de9c.tar.gz
Don't delete interface routes when we do an LcpDown.
They'll get deleted in Cleanup().
Diffstat (limited to 'usr.sbin/ppp')
-rw-r--r--usr.sbin/ppp/main.c9
-rw-r--r--usr.sbin/ppp/os.c3
2 files changed, 6 insertions, 6 deletions
diff --git a/usr.sbin/ppp/main.c b/usr.sbin/ppp/main.c
index 975171e..6953230 100644
--- a/usr.sbin/ppp/main.c
+++ b/usr.sbin/ppp/main.c
@@ -17,7 +17,7 @@
* IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
* WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
*
- * $Id: main.c,v 1.92 1997/11/09 22:07:28 brian Exp $
+ * $Id: main.c,v 1.93 1997/11/11 22:58:11 brian Exp $
*
* TODO:
* o Add commands for traffic summary, version display, etc.
@@ -417,13 +417,14 @@ main(int argc, char **argv)
if (GetLabel()) {
if (SelectSystem(GetLabel(), CONFFILE) < 0) {
- LogPrintf(LogWARN, "Destination system not found in conf file.\n");
+ LogPrintf(LogWARN, "Destination system %s not found in conf file.\n",
+ GetLabel());
Cleanup(EX_START);
}
if (mode & MODE_OUTGOING_DAEMON &&
DefHisAddress.ipaddr.s_addr == INADDR_ANY) {
- LogPrintf(LogWARN, "Must specify dstaddr with"
- " auto, background or ddial mode.\n");
+ LogPrintf(LogWARN, "You must \"set ifaddr\" in label %s for"
+ " auto, background or ddial mode.\n", GetLabel());
Cleanup(EX_START);
}
}
diff --git a/usr.sbin/ppp/os.c b/usr.sbin/ppp/os.c
index dfe1831..ce8bb29 100644
--- a/usr.sbin/ppp/os.c
+++ b/usr.sbin/ppp/os.c
@@ -17,7 +17,7 @@
* IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
* WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
*
- * $Id: os.c,v 1.31 1997/11/09 06:22:44 brian Exp $
+ * $Id: os.c,v 1.32 1997/11/11 22:58:12 brian Exp $
*
*/
#include <sys/param.h>
@@ -248,7 +248,6 @@ OsLinkdown()
FsmDown(&IpcpFsm); /* IPCP must come down */
FsmDown(&CcpFsm); /* CCP must come down */
- DeleteIfRoutes(0);
linkup = 0;
if (SelectSystem(s, LINKDOWNFILE) < 0) {
if (GetLabel()) {
OpenPOWER on IntegriCloud