blob: 8b2760baab2b4bdf9f658f1f4a3350e734674a18 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
--- a/svr-tcpfwd.c.orig
+++ b/svr-tcpfwd.c
@@ -186,11 +186,6 @@
TRACE(("invalid port: %d", port))
goto out;
}
-
- if (!ses.allowprivport && port < IPPORT_RESERVED) {
- TRACE(("can't assign port < 1024 for non-root"))
- goto out;
- }
}
tcpinfo = (struct TCPListener*)m_malloc(sizeof(struct TCPListener));
|