diff --git a/sys/netinet/ip_input.c b/sys/netinet/ip_input.c index db0034796c46..7fce04e1d4a8 100644 --- a/sys/netinet/ip_input.c +++ b/sys/netinet/ip_input.c @@ -1,4 +1,4 @@ -/* $NetBSD: ip_input.c,v 1.371 2018/02/05 15:18:10 maxv Exp $ */ +/* $NetBSD: ip_input.c,v 1.372 2018/02/05 15:23:14 maxv Exp $ */ /* * Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project. @@ -91,7 +91,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: ip_input.c,v 1.371 2018/02/05 15:18:10 maxv Exp $"); +__KERNEL_RCSID(0, "$NetBSD: ip_input.c,v 1.372 2018/02/05 15:23:14 maxv Exp $"); #ifdef _KERNEL_OPT #include "opt_inet.h" @@ -158,16 +158,10 @@ __KERNEL_RCSID(0, "$NetBSD: ip_input.c,v 1.371 2018/02/05 15:18:10 maxv Exp $"); #endif #endif -#ifndef IPSENDREDIRECTS -#define IPSENDREDIRECTS 1 -#endif - -#ifndef IPMTUDISCTIMEOUT #define IPMTUDISCTIMEOUT (10 * 60) /* as per RFC 1191 */ -#endif int ipforwarding = IPFORWARDING; -int ipsendredirects = IPSENDREDIRECTS; +int ipsendredirects = 1; int ip_defttl = IPDEFTTL; int ip_forwsrcrt = 0; int ip_directedbcast = 0;