patch-2.1.1 linux/net/ipv4/tcp.c
Next file: linux/net/ipv4/udp.c
Previous file: linux/net/ipv4/raw.c
Back to the patch index
Back to the overall index
-  Lines: 9
-  Date:
Wed Oct  2 13:16:09 1996
-  Orig file: 
v2.1.0/linux/net/ipv4/tcp.c
-  Orig date: 
Thu Sep  5 08:29:26 1996
diff -u --recursive --new-file v2.1.0/linux/net/ipv4/tcp.c linux/net/ipv4/tcp.c
@@ -573,7 +573,7 @@
 	 * until we time out, or the user gives up.
 	 */
 
-	if (code < 13)
+	if(code<=NR_ICMP_UNREACH)
 	{
 		if(icmp_err_convert[code].fatal || sk->state == TCP_SYN_SENT || sk->state == TCP_SYN_RECV)
 		{
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov