Date: Thu, 27 Dec 2012 21:26:09 +0000 (UTC) From: "Andrey V. Elsukov" <ae@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r244752 - head/sys/net Message-ID: <201212272126.qBRLQ9fq060200@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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. 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201212272126.qBRLQ9fq060200>