Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/crypto/external/bsd/openssh/dist add another exit 254 to avo...



details:   https://anonhg.NetBSD.org/src/rev/5d1c26da4f1a
branches:  trunk
changeset: 365390:5d1c26da4f1a
user:      christos <christos%NetBSD.org@localhost>
date:      Mon Aug 13 09:55:20 2018 +0000

description:
add another exit 254 to avoid blacklistd notification

diffstat:

 crypto/external/bsd/openssh/dist/monitor.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 904e55a8551e -r 5d1c26da4f1a crypto/external/bsd/openssh/dist/monitor.c
--- a/crypto/external/bsd/openssh/dist/monitor.c        Mon Aug 13 09:54:19 2018 +0000
+++ b/crypto/external/bsd/openssh/dist/monitor.c        Mon Aug 13 09:55:20 2018 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: monitor.c,v 1.25 2018/04/06 18:59:00 christos Exp $    */
+/*     $NetBSD: monitor.c,v 1.26 2018/08/13 09:55:20 christos Exp $    */
 /* $OpenBSD: monitor.c,v 1.180 2018/03/03 03:15:51 djm Exp $ */
 /*
  * Copyright 2002 Niels Provos <provos%citi.umich.edu@localhost>
@@ -27,7 +27,7 @@
  */
 
 #include "includes.h"
-__RCSID("$NetBSD: monitor.c,v 1.25 2018/04/06 18:59:00 christos Exp $");
+__RCSID("$NetBSD: monitor.c,v 1.26 2018/08/13 09:55:20 christos Exp $");
 #include <sys/types.h>
 #include <sys/wait.h>
 #include <sys/socket.h>
@@ -1383,7 +1383,7 @@
                if (getpeername(packet_get_connection_in(),
                    (struct sockaddr *)&from, &fromlen) < 0) {
                        debug("getpeername: %.100s", strerror(errno));
-                       cleanup_exit(255);
+                       cleanup_exit(254);
                }
        }
        /* Record that there was a login on that tty from the remote host. */



Home | Main Index | Thread Index | Old Index