patch-2.1.131 linux/net/ipv4/tcp_ipv4.c
Next file: linux/scripts/mkdep.c
Previous file: linux/net/ipv4/Config.in
Back to the patch index
Back to the overall index
-  Lines: 9
-  Date:
Mon Nov 30 16:43:32 1998
-  Orig file: 
v2.1.130/linux/net/ipv4/tcp_ipv4.c
-  Orig date: 
Sun Nov  8 14:03:15 1998
diff -u --recursive --new-file v2.1.130/linux/net/ipv4/tcp_ipv4.c linux/net/ipv4/tcp_ipv4.c
@@ -265,7 +265,7 @@
 	struct tcp_bind_bucket *tb;
 	int low = sysctl_local_port_range[0];
 	int high = sysctl_local_port_range[1];
-	int remaining = high - low;
+	int remaining = high - low + 1;
 	int rover;
 
 	SOCKHASH_LOCK();
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov