Date: Fri, 28 Dec 2012 07:25:40 +0100 From: Pawel Jakub Dawidek <pjd@FreeBSD.org> To: "Andrey V. Elsukov" <ae@FreeBSD.org> Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org Subject: Re: svn commit: r244752 - head/sys/net Message-ID: <20121228062534.GH1400@garage.freebsd.pl> In-Reply-To: <201212272126.qBRLQ9fq060200@svn.freebsd.org> References: <201212272126.qBRLQ9fq060200@svn.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
--AqCDj3hiknadvR6t Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Dec 27, 2012 at 09:26:09PM +0000, Andrey V. Elsukov wrote: > Author: ae > Date: Thu Dec 27 21:26:08 2012 > New Revision: 244752 > URL: http://svnweb.freebsd.org/changeset/base/244752 >=20 > Log: > Add an ability to set net.link.stf.permit_rfc1918 from the loader. I added (very recently) CTLFLAG_RWTUN, which you might want to use here. > MFC after: 2 weeks >=20 > Modified: > head/sys/net/if_stf.c >=20 > Modified: head/sys/net/if_stf.c > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D > --- head/sys/net/if_stf.c Thu Dec 27 21:14:29 2012 (r244751) > +++ head/sys/net/if_stf.c Thu Dec 27 21:26:08 2012 (r244752) > @@ -128,7 +128,8 @@ SYSCTL_INT(_net_link_stf, OID_AUTO, rout > &stf_route_cache, 0, "Caching of IPv4 routes for 6to4 Output"); > =20 > static int stf_permit_rfc1918 =3D 0; > -SYSCTL_INT(_net_link_stf, OID_AUTO, permit_rfc1918, CTLFLAG_RW, > +TUNABLE_INT("net.link.stf.permit_rfc1918", &stf_permit_rfc1918); > +SYSCTL_INT(_net_link_stf, OID_AUTO, permit_rfc1918, CTLFLAG_RW | CTLFLAG= _TUN, > &stf_permit_rfc1918, 0, "Permit the use of private IPv4 addresses"); > =20 > #define STFUNIT 0 --=20 Pawel Jakub Dawidek http://www.wheelsystems.com FreeBSD committer http://www.FreeBSD.org Am I Evil? Yes, I Am! http://tupytaj.pl --AqCDj3hiknadvR6t Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (FreeBSD) iEYEARECAAYFAlDdO14ACgkQForvXbEpPzTCmQCg6v5m0wlUdskia4hH6Qcx04I1 BAsAnirPeovUULY9jx7qaFbXU+vg739a =lVz1 -----END PGP SIGNATURE----- --AqCDj3hiknadvR6t--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20121228062534.GH1400>