From f2697d4d75a0799f5baf9c6bfc44bc2981fa01f5 Mon Sep 17 00:00:00 2001 From: Mike Silbersack Date: Wed, 10 Apr 2002 19:30:58 +0000 Subject: [PATCH] Totally nuke IPPORT_USERRESERVED, it is no longer used anywhere, update remaining comments to reflect new ephemeral port range. Reminded by: Maxim Konovalov MFC after: 3 days --- sys/netinet/in.h | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/sys/netinet/in.h b/sys/netinet/in.h index 92c86885ebd0..d424128fa59a 100644 --- a/sys/netinet/in.h +++ b/sys/netinet/in.h @@ -211,14 +211,12 @@ /* * Ports < IPPORT_RESERVED are reserved for * privileged processes (e.g. root). (IP_PORTRANGE_LOW) - * Ports > IPPORT_USERRESERVED are reserved - * for servers, not necessarily privileged. (IP_PORTRANGE_DEFAULT) */ #define IPPORT_RESERVED 1024 -#define IPPORT_USERRESERVED 5000 /* - * Default local port range to use by setting IP_PORTRANGE_HIGH + * Default local port range, used by both IP_PORTRANGE_DEFAULT + * and IP_PORTRANGE_HIGH. */ #define IPPORT_HIFIRSTAUTO 49152 #define IPPORT_HILASTAUTO 65535