diff options
author | YASUOKA Masahiko <yasuoka@cvs.openbsd.org> | 2014-03-22 04:19:55 +0000 |
---|---|---|
committer | YASUOKA Masahiko <yasuoka@cvs.openbsd.org> | 2014-03-22 04:19:55 +0000 |
commit | 2f5a1c95114612275554e397725a9fa09ff82868 (patch) | |
tree | c6914e299f572660a71a756fd8a28020867a6fe6 | |
parent | 11752f2a8fec74ca37ec0372468a2f1d7ad26e91 (diff) |
Don't stop listening 1723/tcp when accept() is failed.
-rw-r--r-- | usr.sbin/npppd/pptp/pptpd.c | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/usr.sbin/npppd/pptp/pptpd.c b/usr.sbin/npppd/pptp/pptpd.c index a2905149750..27348185820 100644 --- a/usr.sbin/npppd/pptp/pptpd.c +++ b/usr.sbin/npppd/pptp/pptpd.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pptpd.c,v 1.19 2014/03/22 04:18:18 yasuoka Exp $ */ +/* $OpenBSD: pptpd.c,v 1.20 2014/03/22 04:19:54 yasuoka Exp $ */ /*- * Copyright (c) 2009 Internet Initiative Japan Inc. @@ -25,12 +25,12 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. */ -/* $Id: pptpd.c,v 1.19 2014/03/22 04:18:18 yasuoka Exp $ */ +/* $Id: pptpd.c,v 1.20 2014/03/22 04:19:54 yasuoka Exp $ */ /**@file * This file provides a implementation of PPTP daemon. Currently it * provides functions for PAC (PPTP Access Concentrator) only. - * $Id: pptpd.c,v 1.19 2014/03/22 04:18:18 yasuoka Exp $ + * $Id: pptpd.c,v 1.20 2014/03/22 04:19:54 yasuoka Exp $ */ #include <sys/types.h> #include <sys/param.h> @@ -629,8 +629,6 @@ pptpd_io_event(int fd, short evmask, void *ctx) pptpd_log(_this, LOG_ERR, "accept() failed at %s(): %m", __func__); - pptpd_listener_close_1723(listener); - pptpd_stop(_this); } break; } |