diff options
author | djm@openbsd.org <djm@openbsd.org> | 2016-04-06 06:42:17 +0000 |
---|---|---|
committer | Darren Tucker <dtucker@zip.com.au> | 2016-04-08 14:26:06 +1000 |
commit | 0ccbd5eca0f0dd78e71a4b69c66f03a66908d558 (patch) | |
tree | d3b976a3f09569186f2a03d1b87c342432cd4f3c /misc.h | |
parent | 574def0eb493cd6efeffd4ff2e9257abcffee0c8 (diff) | |
download | openssh-git-0ccbd5eca0f0dd78e71a4b69c66f03a66908d558.tar.gz |
upstream commit
don't record duplicate LocalForward and RemoteForward
entries; fixes failure with ExitOnForwardFailure+hostname canonicalisation
where the same forwards are added on the second pass through the
configuration file. bz#2562; ok dtucker@
Upstream-ID: 40a51d68b6300f1cc61deecdb7d4847b8b7b0de1
Diffstat (limited to 'misc.h')
-rw-r--r-- | misc.h | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -1,4 +1,4 @@ -/* $OpenBSD: misc.h,v 1.55 2016/03/02 22:42:40 dtucker Exp $ */ +/* $OpenBSD: misc.h,v 1.56 2016/04/06 06:42:17 djm Exp $ */ /* * Author: Tatu Ylonen <ylo@cs.hut.fi> @@ -27,6 +27,8 @@ struct Forward { int handle; /* Handle for dynamic listen ports */ }; +int forward_equals(const struct Forward *, const struct Forward *); + /* Common server and client forwarding options. */ struct ForwardOptions { int gateway_ports; /* Allow remote connects to forwarded ports. */ |