(LOWPORT): Apparently some mountd implementations are broken and don't
authordrepper <drepper>
Mon, 23 May 2005 19:03:43 +0000 (19:03 +0000)
committerdrepper <drepper>
Mon, 23 May 2005 19:03:43 +0000 (19:03 +0000)
accept ports < 512.

sunrpc/bindrsvprt.c

index 39c1e80..f58d3b2 100644 (file)
@@ -48,7 +48,7 @@ bindresvport (int sd, struct sockaddr_in *sin)
   int i;
 
 #define STARTPORT 600
-#define LOWPORT 200
+#define LOWPORT 512
 #define ENDPORT (IPPORT_RESERVED - 1)
 #define NPORTS (ENDPORT - STARTPORT + 1)
   static short startport = STARTPORT;