summaryrefslogtreecommitdiff
path: root/Ports/dropbear
diff options
context:
space:
mode:
authorAndreas Kling <kling@serenityos.org>2020-06-08 21:50:24 +0200
committerAndreas Kling <kling@serenityos.org>2020-06-08 21:50:45 +0200
commit57b6f51137ac8716516ab13fea6b81d378177b0d (patch)
tree418ec2eeb9f5cf873612d9b851119141546ec4b8 /Ports/dropbear
parent5448a670c0395c7f5ec45fe1bf418f1e440348f7 (diff)
downloadserenity-57b6f51137ac8716516ab13fea6b81d378177b0d.zip
LibC: Add IPPORT_RESERVED and IPPORT_USERRESERVED
Gets rid of one dropbear patch. :^)
Diffstat (limited to 'Ports/dropbear')
-rw-r--r--Ports/dropbear/patches/remove-reserved-ports.patch14
1 files changed, 0 insertions, 14 deletions
diff --git a/Ports/dropbear/patches/remove-reserved-ports.patch b/Ports/dropbear/patches/remove-reserved-ports.patch
deleted file mode 100644
index 8b2760baab..0000000000
--- a/Ports/dropbear/patches/remove-reserved-ports.patch
+++ /dev/null
@@ -1,14 +0,0 @@
---- 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));