aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2004-06-16 22:54:26 +0000
committerH. Peter Anvin <hpa@zytor.com>2004-06-16 22:54:26 +0000
commit9b86c69c0bf66e6a9085ef4e3b51b213eba5780e (patch)
treefa70618a642202f7b6231983dab584a82cebbb11
parente59d7661489e6a86c0ef722cdd10ecd5c5589a3b (diff)
downloadklibc-9b86c69c0bf66e6a9085ef4e3b51b213eba5780e.tar.gz
Start at port 768 to make the number of ports available toklibc-0.142
bindresvport() a power of 2.
-rw-r--r--klibc/inet/bindresvport.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/klibc/inet/bindresvport.c b/klibc/inet/bindresvport.c
index e4c4c5b8f6d9e..750bd709c495a 100644
--- a/klibc/inet/bindresvport.c
+++ b/klibc/inet/bindresvport.c
@@ -9,7 +9,7 @@
#include <string.h>
#include <unistd.h>
-#define START_PORT 600
+#define START_PORT 768
#define END_PORT IPPORT_RESERVED
#define NUM_PORTS (END_PORT - START_PORT)