mirror of
https://github.com/freebsd/freebsd-src
synced 2024-07-21 18:27:22 +00:00
Fix amusingly harmless mis-merge.
This commit is contained in:
parent
f5d1d20574
commit
8f7bfc76bd
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=314304
|
@ -319,7 +319,6 @@ add_local_forward(Options *options, const struct Forward *newfwd)
|
|||
#else
|
||||
ipport_reserved = IPPORT_RESERVED;
|
||||
#endif
|
||||
if (newfwd->listen_port < ipport_reserved && original_real_uid != 0)
|
||||
if (newfwd->listen_port < ipport_reserved && original_real_uid != 0 &&
|
||||
newfwd->listen_path == NULL)
|
||||
fatal("Privileged ports can only be forwarded by root.");
|
||||
|
|
Loading…
Reference in a new issue