=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/ssh/channels.c,v retrieving revision 1.369 retrieving revision 1.370 diff -u -r1.369 -r1.370 --- src/usr.bin/ssh/channels.c 2017/09/12 07:32:04 1.369 +++ src/usr.bin/ssh/channels.c 2017/09/12 07:55:48 1.370 @@ -1,4 +1,4 @@ -/* $OpenBSD: channels.c,v 1.369 2017/09/12 07:32:04 djm Exp $ */ +/* $OpenBSD: channels.c,v 1.370 2017/09/12 07:55:48 djm Exp $ */ /* * Author: Tatu Ylonen * Copyright (c) 1995 Tatu Ylonen , Espoo, Finland @@ -2491,7 +2491,7 @@ char *ctype = NULL, *listen_host = NULL; u_char type; size_t have; - int ret = -1, r, idx; + int ret = -1, r; u_int id, remote_id, listen_port; /* sshbuf_dump(downstream->input, stderr); */ @@ -2590,7 +2590,7 @@ goto out; } /* Record that connection to this host/port is permitted. */ - idx = fwd_perm_list_add(ssh, FWDPERM_USER, "", -1, + fwd_perm_list_add(ssh, FWDPERM_USER, "", -1, listen_host, NULL, (int)listen_port, downstream); listen_host = NULL; break;