patch-2.2.0-pre2 linux/net/ipv4/tcp_ipv4.c
Next file: linux/net/ipv4/tcp_output.c
Previous file: linux/net/ipv4/tcp_input.c
Back to the patch index
Back to the overall index
- Lines: 18
- Date:
Wed Dec 30 21:19:20 1998
- Orig file:
v2.2.0-pre1/linux/net/ipv4/tcp_ipv4.c
- Orig date:
Wed Dec 16 10:32:56 1998
diff -u --recursive --new-file v2.2.0-pre1/linux/net/ipv4/tcp_ipv4.c linux/net/ipv4/tcp_ipv4.c
@@ -5,7 +5,7 @@
*
* Implementation of the Transmission Control Protocol(TCP).
*
- * Version: $Id: tcp_ipv4.c,v 1.162 1998/11/07 11:50:26 davem Exp $
+ * Version: $Id: tcp_ipv4.c,v 1.163 1998/11/30 15:24:22 davem Exp $
*
* IPv4 specific functions
*
@@ -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 + 1;
+ 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