Module Name: src Committed By: maxv Date: Mon Feb 5 15:23:14 UTC 2018
Modified Files: src/sys/netinet: ip_input.c Log Message: Exterminate IPSENDREDIRECTS and IPMTUDISCTIMEOUT, neither is documented. To generate a diff of this commit: cvs rdiff -u -r1.371 -r1.372 src/sys/netinet/ip_input.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/netinet/ip_input.c diff -u src/sys/netinet/ip_input.c:1.371 src/sys/netinet/ip_input.c:1.372 --- src/sys/netinet/ip_input.c:1.371 Mon Feb 5 15:18:10 2018 +++ src/sys/netinet/ip_input.c Mon Feb 5 15:23:14 2018 @@ -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 <sys/cdefs.h> -__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 #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;