Date: Wed, 1 Aug 2012 18:49:01 +0000 (UTC) From: Luigi Rizzo <luigi@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r238977 - head/sys/netinet/ipfw Message-ID: <201208011849.q71In1ET086827@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: luigi Date: Wed Aug 1 18:49:00 2012 New Revision: 238977 URL: http://svn.freebsd.org/changeset/base/238977 Log: add a cast to avoid a signed/unsigned warning (to be removed when we will have TUNABLE_UINT constructors) Modified: head/sys/netinet/ipfw/ip_fw2.c Modified: head/sys/netinet/ipfw/ip_fw2.c ============================================================================== --- head/sys/netinet/ipfw/ip_fw2.c Wed Aug 1 17:48:38 2012 (r238976) +++ head/sys/netinet/ipfw/ip_fw2.c Wed Aug 1 18:49:00 2012 (r238977) @@ -176,7 +176,7 @@ SYSCTL_INT(_net_inet_ip_fw, OID_AUTO, de &default_to_accept, 0, "Make the default rule accept all packets."); TUNABLE_INT("net.inet.ip.fw.default_to_accept", &default_to_accept); -TUNABLE_INT("net.inet.ip.fw.tables_max", &default_fw_tables); +TUNABLE_INT("net.inet.ip.fw.tables_max", (int *)&default_fw_tables); SYSCTL_VNET_INT(_net_inet_ip_fw, OID_AUTO, static_count, CTLFLAG_RD, &VNET_NAME(layer3_chain.n_rules), 0, "Number of static rules");
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201208011849.q71In1ET086827>