Exterminate IPSENDREDIRECTS and IPMTUDISCTIMEOUT, neither is documented.

This commit is contained in:
maxv 2018-02-05 15:23:14 +00:00
parent 07316f2d3f
commit 790eef7946

View File

@ -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 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;