diff options
| author | Garrett Wollman <wollman@FreeBSD.org> | 1995-12-08 16:46:06 +0000 |
|---|---|---|
| committer | Garrett Wollman <wollman@FreeBSD.org> | 1995-12-08 16:46:06 +0000 |
| commit | be070f43359fb0475c752c4f510b193de8ee8486 (patch) | |
| tree | 2557a1dcb1c32c5c56c16a52f98d60c2f8a93ed8 | |
| parent | 87f6c6625d5a4889540cb77c8296e456b7d1390b (diff) | |
Notes
| -rw-r--r-- | sys/netinet/ip_icmp.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/sys/netinet/ip_icmp.c b/sys/netinet/ip_icmp.c index f66acc1c2d1c..c23de5b9c53e 100644 --- a/sys/netinet/ip_icmp.c +++ b/sys/netinet/ip_icmp.c @@ -31,7 +31,7 @@ * SUCH DAMAGE. * * @(#)ip_icmp.c 8.2 (Berkeley) 1/4/94 - * $Id: ip_icmp.c,v 1.13 1995/12/05 17:45:59 wollman Exp $ + * $Id: ip_icmp.c,v 1.14 1995/12/06 23:37:29 bde Exp $ */ #include <sys/param.h> @@ -336,7 +336,11 @@ icmp_input(m, hlen) if (!mtu) mtu = ip_next_mtu(rt->rt_rmx.rmx_mtu, 1); - if (!mtu || mtu < 296) { +#ifdef DEBUG_MTUDISC + printf("MTU for %s reduced to %d\n", + inet_ntoa(icmpsrc.sin_addr), mtu); +#endif + if (mtu < 296) { /* rt->rt_rmx.rmx_mtu = rt->rt_ifp->if_mtu; */ rt->rt_rmx.rmx_locks |= RTV_MTU; |
