Fix amusingly harmless mis-merge.

This commit is contained in:
des 2017-02-26 16:34:58 +00:00
parent a30f538779
commit 308f28721f

View File

@ -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.");