[openssh-commits] [openssh] 01/02: fix incorrect warning message under SKIP_PRIVDROP

git+noreply at mindrot.org git+noreply at mindrot.org
Wed Oct 14 15:12:10 AEDT 2026


This is an automated email from the git hooks/post-receive script.

djm pushed a commit to branch V_10_6
in repository openssh.

commit 6e639f9c36a804c8a2046c7faf15cf6c92cf6cba
Author: Damien Miller <djm at mindrot.org>
AuthorDate: Wed Oct 14 15:09:59 2026 +1100

    fix incorrect warning message under SKIP_PRIVDROP
---
 servconf.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/servconf.c b/servconf.c
index 044043b74..220d04835 100644
--- a/servconf.c
+++ b/servconf.c
@@ -280,7 +280,7 @@ fill_default_server_options(ServerOptions *options)
 		logit("StreamlocalForwarding is not supported on this system");
 	options->allow_streamlocal_forwarding = 0;
 	if (options->fwd_opts.gateway_ports != -1 &&
-	    options->fwd_opts.gateway_ports == 0)
+	    options->fwd_opts.gateway_ports != 0)
 		logit("GatewayPorts is not supported on this system");
 	options->fwd_opts.gateway_ports = 0;
 #endif

-- 
To stop receiving notification emails like this one, please contact
djm at mindrot.org.


More information about the openssh-commits mailing list