Date: Sat, 31 Aug 1996 21:34:51 +0200 From: Poul-Henning Kamp <phk@critter.tfs.com> To: Alex Nash <nash@mcs.net> Cc: Ollivier Robert <roberto@keltia.freenix.fr>, "FreeBSD Current Users' list" <freebsd-current@FreeBSD.org> Subject: Re: IPFW changes Message-ID: <10609.841520091@critter.tfs.com> In-Reply-To: Your message of "Sat, 31 Aug 1996 12:30:44 CDT." <Pine.BSI.3.91.960831122415.14043C-100000@Venus.mcs.com>
next in thread | previous in thread | raw e-mail | index | archive | help
In message <Pine.BSI.3.91.960831122415.14043C-100000@Venus.mcs.com>, Alex Nash writes: >On Sat, 31 Aug 1996, Ollivier Robert wrote: >> Another question, why the sysctl variables for IPFW not there ? > >This was on my TODO list from several months ago :( Any sysctl experts >out there want to give this a shot? Try this patch: Index: ip_fw.c =================================================================== RCS file: /home/ncvs/src/sys/netinet/ip_fw.c,v retrieving revision 1.48 diff -u -r1.48 ip_fw.c --- ip_fw.c 1996/08/13 19:43:40 1.48 +++ ip_fw.c 1996/08/31 19:33:37 @@ -57,10 +57,10 @@ LIST_HEAD (ip_fw_head, ip_fw_chain) ip_fw_chain; #ifdef SYSCTL_NODE -SYSCTL_NODE(net_inet_ip, OID_AUTO, fw, CTLFLAG_RW, 0, "Firewall"); -SYSCTL_INT(net_inet_ip_fw, OID_AUTO, debug, CTLFLAG_RW, &fw_debug, 0, ""); -SYSCTL_INT(net_inet_ip_fw, OID_AUTO, verbose, CTLFLAG_RW, &fw_verbose, 0, ""); -SYSCTL_INT(net_inet_ip_fw, OID_AUTO, verbose_limit, CTLFLAG_RW, &fw_verbose_limit, 0, ""); +SYSCTL_NODE(_net_inet_ip, OID_AUTO, fw, CTLFLAG_RW, 0, "Firewall"); +SYSCTL_INT(_net_inet_ip_fw, OID_AUTO, debug, CTLFLAG_RW, &fw_debug, 0, ""); +SYSCTL_INT(_net_inet_ip_fw, OID_AUTO, verbose, CTLFLAG_RW, &fw_verbose, 0, ""); +SYSCTL_INT(_net_inet_ip_fw, OID_AUTO, verbose_limit, CTLFLAG_RW, &fw_verbose_limit, 0, ""); #endif #define dprintf(a) if (!fw_debug); else printf a -- Poul-Henning Kamp | phk@FreeBSD.ORG FreeBSD Core-team. http://www.freebsd.org/~phk | phk@login.dknet.dk Private mailbox. whois: [PHK] | phk@ref.tfs.com TRW Financial Systems, Inc. Future will arrive by its own means, progress not so.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?10609.841520091>