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 restore logging behavior: d...
details: https://anonhg.NetBSD.org/src/rev/3b0fc60311d3
branches: trunk
changeset: 786308:3b0fc60311d3
user: christos <christos%NetBSD.org@localhost>
date: Thu Apr 25 20:10:28 2013 +0000
description:
restore logging behavior: don't treat user disconnect messages as errors,
just log them.
diffstat:
crypto/external/bsd/openssh/dist/packet.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diffs (36 lines):
diff -r 5301a8099f16 -r 3b0fc60311d3 crypto/external/bsd/openssh/dist/packet.c
--- a/crypto/external/bsd/openssh/dist/packet.c Thu Apr 25 17:10:50 2013 +0000
+++ b/crypto/external/bsd/openssh/dist/packet.c Thu Apr 25 20:10:28 2013 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: packet.c,v 1.10 2013/03/29 16:19:45 christos Exp $ */
+/* $NetBSD: packet.c,v 1.11 2013/04/25 20:10:28 christos Exp $ */
/* $OpenBSD: packet.c,v 1.181 2013/02/10 23:35:24 djm Exp $ */
/*
* Author: Tatu Ylonen <ylo%cs.hut.fi@localhost>
@@ -39,7 +39,7 @@
*/
#include "includes.h"
-__RCSID("$NetBSD: packet.c,v 1.10 2013/03/29 16:19:45 christos Exp $");
+__RCSID("$NetBSD: packet.c,v 1.11 2013/04/25 20:10:28 christos Exp $");
#include <sys/types.h>
#include <sys/queue.h>
#include <sys/socket.h>
@@ -1456,7 +1456,7 @@
case SSH2_MSG_DISCONNECT:
reason = packet_get_int();
msg = packet_get_string(NULL);
- error("Received disconnect from %s: %u: %.400s",
+ logit("Received disconnect from %s: %u: %.400s",
get_remote_ipaddr(), reason, msg);
xfree(msg);
cleanup_exit(255);
@@ -1481,7 +1481,7 @@
break;
case SSH_MSG_DISCONNECT:
msg = packet_get_string(NULL);
- error("Received disconnect from %s: %.400s",
+ logit("Received disconnect from %s: %.400s",
get_remote_ipaddr(), msg);
cleanup_exit(255);
break;
Home |
Main Index |
Thread Index |
Old Index