summaryrefslogtreecommitdiffstats
path: root/usr.sbin/pppd/main.c
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>1997-08-22 12:03:57 +0000
committerpeter <peter@FreeBSD.org>1997-08-22 12:03:57 +0000
commit1ba1e07209761ad45fbc92ca09b9aa3f09e51c95 (patch)
tree4c24f571d614bcd57ead92bd460cf1901e50b20c /usr.sbin/pppd/main.c
parent06ac8bc3a120588b5eb56e14b7217177fcb19c87 (diff)
downloadFreeBSD-src-1ba1e07209761ad45fbc92ca09b9aa3f09e51c95.zip
FreeBSD-src-1ba1e07209761ad45fbc92ca09b9aa3f09e51c95.tar.gz
Update to pppd-2.3.1, except for the CLOCAL changes while running the
connect script to main.c that can cause problems on bsd-style tty systems.
Diffstat (limited to 'usr.sbin/pppd/main.c')
-rw-r--r--usr.sbin/pppd/main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/pppd/main.c b/usr.sbin/pppd/main.c
index d525258..916bd24 100644
--- a/usr.sbin/pppd/main.c
+++ b/usr.sbin/pppd/main.c
@@ -18,7 +18,7 @@
*/
#ifndef lint
-static char rcsid[] = "$Id$";
+static char rcsid[] = "$Id: main.c,v 1.13 1997/08/19 17:52:43 peter Exp $";
#endif
#include <stdio.h>
@@ -487,7 +487,7 @@ main(argc, argv)
while ((i = open(devnam, O_RDWR)) < 0) {
if (errno != EINTR)
syslog(LOG_ERR, "Failed to reopen %s: %m", devnam);
- if (!persist || errno != EINTR)
+ if (!persist || errno != EINTR || hungup || kill_link)
goto fail;
}
close(i);
OpenPOWER on IntegriCloud