From 411e2af1bd2ec848d539381f8f00a3da5401690c Mon Sep 17 00:00:00 2001 From: wollman Date: Fri, 26 Apr 1996 18:31:41 +0000 Subject: Delete #if 0 block containing remnants of pre-MTU discovery rmx_mtu initialization. --- sys/netinet/in_rmx.c | 18 +----------------- 1 file changed, 1 insertion(+), 17 deletions(-) (limited to 'sys/netinet/in_rmx.c') diff --git a/sys/netinet/in_rmx.c b/sys/netinet/in_rmx.c index 958b648..df4fc3b 100644 --- a/sys/netinet/in_rmx.c +++ b/sys/netinet/in_rmx.c @@ -26,7 +26,7 @@ * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: in_rmx.c,v 1.22 1995/12/19 20:46:13 wollman Exp $ + * $Id: in_rmx.c,v 1.23 1996/01/23 05:15:30 fenner Exp $ */ /* @@ -65,9 +65,6 @@ #include #include #include -#if 0 -#include -#endif extern int in_inithead __P((void **head, int off)); @@ -110,22 +107,9 @@ in_addroute(void *v_arg, void *n_arg, struct radix_node_head *head, if (!rt->rt_rmx.rmx_recvpipe && !(rt->rt_rmx.rmx_locks & RTV_RPIPE)) rt->rt_rmx.rmx_recvpipe = tcp_recvspace; -#if 0 - /* - * Finally, set an MTU, again duplicating logic in TCP. - * The in_localaddr() business will go away when we have - * proper PMTU discovery. - */ -#endif if (!rt->rt_rmx.rmx_mtu && !(rt->rt_rmx.rmx_locks & RTV_MTU) && rt->rt_ifp) -#if 0 - rt->rt_rmx.rmx_mtu = (in_localaddr(sin->sin_addr) - ? rt->rt_ifp->if_mtu - : tcp_mssdflt + sizeof(struct tcpiphdr)); -#else rt->rt_rmx.rmx_mtu = rt->rt_ifp->if_mtu; -#endif ret = rn_addroute(v_arg, n_arg, head, treenodes); if (ret == NULL && rt->rt_flags & RTF_HOST) { -- cgit v1.1