commit | 9b86c69c0bf66e6a9085ef4e3b51b213eba5780e | [log] [tgz] |
---|---|---|
author | H. Peter Anvin <hpa@zytor.com> | Wed Jun 16 22:54:26 2004 +0000 |
committer | H. Peter Anvin <hpa@zytor.com> | Wed Jun 16 22:54:26 2004 +0000 |
tree | fa70618a642202f7b6231983dab584a82cebbb11 | |
parent | e59d7661489e6a86c0ef722cdd10ecd5c5589a3b [diff] |
Start at port 768 to make the number of ports available to bindresvport() a power of 2.
diff --git a/klibc/inet/bindresvport.c b/klibc/inet/bindresvport.c index e4c4c5b..750bd70 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)