svn commit: r244752 - head/sys/net
Pawel Jakub Dawidek
pjd at FreeBSD.org
Fri Dec 28 06:25:34 UTC 2012
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
>
> 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
>
> Modified:
> head/sys/net/if_stf.c
>
> Modified: head/sys/net/if_stf.c
> ==============================================================================
> --- 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");
>
> static int stf_permit_rfc1918 = 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");
>
> #define STFUNIT 0
--
Pawel Jakub Dawidek http://www.wheelsystems.com
FreeBSD committer http://www.FreeBSD.org
Am I Evil? Yes, I Am! http://tupytaj.pl
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/svn-src-head/attachments/20121228/ef6ee33a/attachment.sig>
More information about the svn-src-head
mailing list