patch-2.0.22 linux/net/ipv4/udp.c
Next file: linux/net/unix/af_unix.c
Previous file: linux/net/ipv4/tcp.c
Back to the patch index
Back to the overall index
- Lines: 9
- Date:
Sun Oct 6 17:42:09 1996
- Orig file:
v2.0.21/linux/net/ipv4/udp.c
- Orig date:
Tue Jun 4 15:34:43 1996
diff -u --recursive --new-file v2.0.21/linux/net/ipv4/udp.c linux/net/ipv4/udp.c
@@ -193,7 +193,7 @@
/* 4.1.3.3. */
/* After the comment above, that should be no surprise. */
- if (code < 13 && icmp_err_convert[code].fatal)
+ if(code<=NR_ICMP_UNREACH && icmp_err_convert[code].fatal)
{
/*
* 4.x BSD compatibility item. Break RFC1122 to
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov