summaryrefslogtreecommitdiffstats
path: root/sys/netinet
diff options
context:
space:
mode:
authorrik <rik@FreeBSD.org>2008-09-14 09:24:12 +0000
committerrik <rik@FreeBSD.org>2008-09-14 09:24:12 +0000
commit223474804129af7a34eeb1da86feed1aa1408944 (patch)
tree9eba42b51adf795823b58b70a4cd7dc71c478654 /sys/netinet
parentee49fbd2192b64eaa3b4fdde548e9a8b02591e50 (diff)
downloadFreeBSD-src-223474804129af7a34eeb1da86feed1aa1408944.zip
FreeBSD-src-223474804129af7a34eeb1da86feed1aa1408944.tar.gz
Export IPFW_TABLES_MAX via sysctl. Part of PR: 127058.
PR: 127058
Diffstat (limited to 'sys/netinet')
-rw-r--r--sys/netinet/ip_fw2.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/netinet/ip_fw2.c b/sys/netinet/ip_fw2.c
index a131ae8..3f536fe 100644
--- a/sys/netinet/ip_fw2.c
+++ b/sys/netinet/ip_fw2.c
@@ -181,6 +181,8 @@ SYSCTL_INT(_net_inet_ip_fw, OID_AUTO, verbose_limit, CTLFLAG_RW,
&verbose_limit, 0, "Set upper limit of matches of ipfw rules logged");
SYSCTL_UINT(_net_inet_ip_fw, OID_AUTO, default_rule, CTLFLAG_RD,
NULL, IPFW_DEFAULT_RULE, "The default/max possible rule number.");
+SYSCTL_UINT(_net_inet_ip_fw, OID_AUTO, tables_max, CTLFLAG_RD,
+ NULL, IPFW_TABLES_MAX, "The maximum number of tables.");
/*
* Description of dynamic rules.
OpenPOWER on IntegriCloud