summaryrefslogtreecommitdiff
path: root/usr.bin/ssh/channels.c
diff options
context:
space:
mode:
authorMarkus Friedl <markus@cvs.openbsd.org>1999-11-22 21:02:40 +0000
committerMarkus Friedl <markus@cvs.openbsd.org>1999-11-22 21:02:40 +0000
commite635c41f03fe35686ec48598b5ff248c2485d8bb (patch)
tree8521120e30f644f5a56001e3b3d4bc47b97bdb40 /usr.bin/ssh/channels.c
parent2632baae61bff755f455a90159bc81cffae148f0 (diff)
syslog changes:
* Unified Logmessage for all auth-types, for success and for failed * Standard connections get only ONE line in the LOG when level==LOG: Auth-attempts are logged only, if authentication is: a) successfull or b) with passwd or c) we had more than AUTH_FAIL_LOG failues * many log() became verbose() * old behaviour with level=VERBOSE
Diffstat (limited to 'usr.bin/ssh/channels.c')
-rw-r--r--usr.bin/ssh/channels.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/ssh/channels.c b/usr.bin/ssh/channels.c
index 94d7156b9f9..7f52276acf2 100644
--- a/usr.bin/ssh/channels.c
+++ b/usr.bin/ssh/channels.c
@@ -16,7 +16,7 @@ arbitrary tcp/ip connections, and the authentication agent connection.
*/
#include "includes.h"
-RCSID("$Id: channels.c,v 1.23 1999/11/19 19:58:18 markus Exp $");
+RCSID("$Id: channels.c,v 1.24 1999/11/22 21:02:38 markus Exp $");
#include "ssh.h"
#include "packet.h"
@@ -904,7 +904,7 @@ void channel_request_remote_forwarding(int port, const char *host,
int payload_len;
/* Record locally that connection to this host/port is permitted. */
if (num_permitted_opens >= SSH_MAX_FORWARDS_PER_DIRECTION)
- fatal("channel_request_remote_forwarding: too many forwards");
+ fatal("channel_request_remote_forwarding: too many forwards"); /* XXX why panic? -markus */
permitted_opens[num_permitted_opens].host = xstrdup(host);
permitted_opens[num_permitted_opens].port = remote_port;
num_permitted_opens++;