summaryrefslogtreecommitdiffstats
path: root/usr.sbin/ppp/command.c
diff options
context:
space:
mode:
authorbrian <brian@FreeBSD.org>1997-05-09 23:34:56 +0000
committerbrian <brian@FreeBSD.org>1997-05-09 23:34:56 +0000
commit1da867bda76bc701006945dfbc4733f550c91c2d (patch)
treeba61789401df9536bf9ac13e66c6720dfb8e3973 /usr.sbin/ppp/command.c
parent4feaab6cb9af6603a6120dd868051f4d851183ff (diff)
downloadFreeBSD-src-1da867bda76bc701006945dfbc4733f550c91c2d.zip
FreeBSD-src-1da867bda76bc701006945dfbc4733f550c91c2d.tar.gz
Don't reconnect (due to reconnect setting) after
close command.
Diffstat (limited to 'usr.sbin/ppp/command.c')
-rw-r--r--usr.sbin/ppp/command.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.sbin/ppp/command.c b/usr.sbin/ppp/command.c
index b0497c0..36d398c 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.40 1997/05/07 23:01:25 brian Exp $
+ * $Id: command.c,v 1.41 1997/05/08 01:26:31 brian Exp $
*
*/
#include <sys/types.h>
@@ -629,6 +629,7 @@ static int
CloseCommand()
{
LcpClose();
+ lostCarrier = 0;
return(1);
}
OpenPOWER on IntegriCloud