summaryrefslogtreecommitdiffstats
path: root/sys/netinet/ip_input.c
diff options
context:
space:
mode:
authorbz <bz@FreeBSD.org>2011-04-27 19:32:27 +0000
committerbz <bz@FreeBSD.org>2011-04-27 19:32:27 +0000
commitd6e97eaa7bfc6dfbdac2d2e9212d2d587c5d8169 (patch)
treeb2746c2bdf2d5f0fa057e9d2a598cad63e4d6622 /sys/netinet/ip_input.c
parent19104877222319644c02e765fc7a731750eaa78f (diff)
downloadFreeBSD-src-d6e97eaa7bfc6dfbdac2d2e9212d2d587c5d8169.zip
FreeBSD-src-d6e97eaa7bfc6dfbdac2d2e9212d2d587c5d8169.tar.gz
MfP4 CH=192004:
Move ip_defttl to raw_ip.c where it is actually used. In an IPv6 only world we do not want to compile ip_input.c in for that and it is a shared default with INET6. Reviewed by: gnn Sponsored by: The FreeBSD Foundation Sponsored by: iXsystems MFC after: 4 days
Diffstat (limited to 'sys/netinet/ip_input.c')
-rw-r--r--sys/netinet/ip_input.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/sys/netinet/ip_input.c b/sys/netinet/ip_input.c
index e32b50d..ac1c723 100644
--- a/sys/netinet/ip_input.c
+++ b/sys/netinet/ip_input.c
@@ -101,11 +101,6 @@ SYSCTL_VNET_INT(_net_inet_ip, IPCTL_SENDREDIRECTS, redirect, CTLFLAG_RW,
&VNET_NAME(ipsendredirects), 0,
"Enable sending IP redirects");
-VNET_DEFINE(int, ip_defttl) = IPDEFTTL;
-SYSCTL_VNET_INT(_net_inet_ip, IPCTL_DEFTTL, ttl, CTLFLAG_RW,
- &VNET_NAME(ip_defttl), 0,
- "Maximum TTL on IP packets");
-
static VNET_DEFINE(int, ip_keepfaith);
#define V_ip_keepfaith VNET(ip_keepfaith)
SYSCTL_VNET_INT(_net_inet_ip, IPCTL_KEEPFAITH, keepfaith, CTLFLAG_RW,
OpenPOWER on IntegriCloud