summaryrefslogtreecommitdiff
path: root/usr.bin
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2000-07-07 08:14:29 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2000-07-07 08:14:29 +0000
commit8a31dd34636eb242112000017b9cfc19e9476067 (patch)
treec0d1e91e54cd733886faa446dd37c3d28833bfc8 /usr.bin
parentc55901d4352114df7157711e8bb5aa09cebf8f95 (diff)
sense of port forwarding flag test was backwards
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/ssh/serverloop.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/ssh/serverloop.c b/usr.bin/ssh/serverloop.c
index 46ac69a5ca7..331e2cb7272 100644
--- a/usr.bin/ssh/serverloop.c
+++ b/usr.bin/ssh/serverloop.c
@@ -709,7 +709,7 @@ input_direct_tcpip(void)
originator, originator_port, target, target_port);
/* XXX check permission */
- if (! no_port_forwarding_flag) {
+ if (no_port_forwarding_flag) {
xfree(target);
xfree(originator);
return -1;