diff options
author | Markus Friedl <markus@cvs.openbsd.org> | 2000-11-30 22:54:32 +0000 |
---|---|---|
committer | Markus Friedl <markus@cvs.openbsd.org> | 2000-11-30 22:54:32 +0000 |
commit | be5e993f54312ddd3605f91ff351b63a7bbc4427 (patch) | |
tree | d91c88cc6e43b89e012622eaed1ddf15a18f0b74 /usr.bin/ssh/channels.c | |
parent | 3ce102f751145360dcefc7e8c697372496f4fece (diff) |
debug -> warn if server tries to do -R style fwd w/o client requesting this; ok niels@
Diffstat (limited to 'usr.bin/ssh/channels.c')
-rw-r--r-- | usr.bin/ssh/channels.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/usr.bin/ssh/channels.c b/usr.bin/ssh/channels.c index 5f82a56d022..c020390a7ac 100644 --- a/usr.bin/ssh/channels.c +++ b/usr.bin/ssh/channels.c @@ -40,7 +40,7 @@ */ #include "includes.h" -RCSID("$OpenBSD: channels.c,v 1.73 2000/11/06 23:04:55 markus Exp $"); +RCSID("$OpenBSD: channels.c,v 1.74 2000/11/30 22:54:31 markus Exp $"); #include "ssh.h" #include "packet.h" @@ -1723,7 +1723,8 @@ channel_connect_by_listen_adress(u_short listen_port) return channel_connect_to( permitted_opens[i].host_to_connect, permitted_opens[i].port_to_connect); - debug("channel_connect_by_listen_adress: unknown listen_port %d", listen_port); + error("WARNING: Server requests forwarding for unknown listen_port %d", + listen_port); return -1; } |