summaryrefslogtreecommitdiffstats
path: root/usr.sbin/ppp/modem.c
diff options
context:
space:
mode:
authorbrian <brian@FreeBSD.org>1997-04-13 00:54:45 +0000
committerbrian <brian@FreeBSD.org>1997-04-13 00:54:45 +0000
commitb2533fba6ff7273bd2dbe3373b345e5b53d48f0b (patch)
treee29f55118a8b9569505404706851431843ee96d2 /usr.sbin/ppp/modem.c
parent24892f810362b61662c5846a03a44ac143eb4f44 (diff)
downloadFreeBSD-src-b2533fba6ff7273bd2dbe3373b345e5b53d48f0b.zip
FreeBSD-src-b2533fba6ff7273bd2dbe3373b345e5b53d48f0b.tar.gz
Make -background option attempt each phone number at most
once. Make -background ignore redial. Output exit value to syslog with "PPP Terminated" message.
Diffstat (limited to 'usr.sbin/ppp/modem.c')
-rw-r--r--usr.sbin/ppp/modem.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/usr.sbin/ppp/modem.c b/usr.sbin/ppp/modem.c
index 074276a..ead30ac 100644
--- a/usr.sbin/ppp/modem.c
+++ b/usr.sbin/ppp/modem.c
@@ -17,7 +17,7 @@
* IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
* WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
*
- * $Id: modem.c,v 1.31 1997/03/10 06:54:58 ache Exp $
+ * $Id: modem.c,v 1.32 1997/03/31 22:51:00 brian Exp $
*
* TODO:
*/
@@ -763,11 +763,6 @@ DialModem()
}
}
HangupModem(0);
- if (mode & MODE_BACKGROUND) {
- extern void Cleanup();
- CloseModem();
- Cleanup(excode);
- }
return(0);
}
OpenPOWER on IntegriCloud