summaryrefslogtreecommitdiff
path: root/ssh.c
diff options
context:
space:
mode:
Diffstat (limited to 'ssh.c')
-rw-r--r--ssh.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/ssh.c b/ssh.c
index d25960bce..a8505a0ee 100644
--- a/ssh.c
+++ b/ssh.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: ssh.c,v 1.479 2018/06/01 03:33:53 djm Exp $ */ 1/* $OpenBSD: ssh.c,v 1.480 2018/06/06 18:22:41 djm Exp $ */
2/* 2/*
3 * Author: Tatu Ylonen <ylo@cs.hut.fi> 3 * Author: Tatu Ylonen <ylo@cs.hut.fi>
4 * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland 4 * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
@@ -1654,10 +1654,10 @@ ssh_confirm_remote_forward(struct ssh *ssh, int type, u_int32_t seq, void *ctxt)
1654 logit("Allocated port %u for remote forward to %s:%d", 1654 logit("Allocated port %u for remote forward to %s:%d",
1655 rfwd->allocated_port, 1655 rfwd->allocated_port,
1656 rfwd->connect_host, rfwd->connect_port); 1656 rfwd->connect_host, rfwd->connect_port);
1657 channel_update_permitted_opens(ssh, 1657 channel_update_permission(ssh,
1658 rfwd->handle, rfwd->allocated_port); 1658 rfwd->handle, rfwd->allocated_port);
1659 } else { 1659 } else {
1660 channel_update_permitted_opens(ssh, rfwd->handle, -1); 1660 channel_update_permission(ssh, rfwd->handle, -1);
1661 } 1661 }
1662 } 1662 }
1663 1663