mirror of
https://github.com/openssh/openssh-portable.git
synced 2026-11-06 05:16:43 +00:00
unbreak SKIP_PRIVDROP case
This commit is contained in:
1 file changed
+1
-2
+1
-2
@@ -4352,8 +4352,7 @@ check_rfwd_permission(struct ssh *ssh, struct Forward *fwd)
|
||||
#ifdef SKIP_PRIVDROP
|
||||
if (fwd->listen_path != NULL)
|
||||
return 0;
|
||||
if (allowed_open->listen_port != FWD_PERMIT_ANY_PORT &&
|
||||
allowed_open->listen_port < 1024)
|
||||
if (fwd->listen_port != 0 && fwd->listen_port < 1024)
|
||||
return 0;
|
||||
#endif
|
||||
|
||||
|
||||
Reference in new issue
Block a user