Default min-port to 1024 to avoid reserved ports.
diff --git a/src/network.c b/src/network.c
index d92c003..0381513 100644
--- a/src/network.c
+++ b/src/network.c
@@ -1149,10 +1149,7 @@
       if (fix_fd(fd))
 	while(tries--)
 	  {
-	    unsigned short port = rand16();
-	    
-            if (daemon->min_port != 0 || daemon->max_port != MAX_PORT)
-              port = htons(daemon->min_port + (port % ((unsigned short)ports_avail)));
+	    unsigned short port = htons(daemon->min_port + (rand16() % ((unsigned short)ports_avail)));
 	    
 	    if (family == AF_INET) 
 	      {