Rename IGNOREOLDCAPVERSIONS to WARNOLDCAPVERSION

Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
Tom Eastep 2012-12-27 09:58:45 -08:00
parent 8b92a59821
commit ebe4267c49
13 changed files with 51 additions and 51 deletions

View File

@ -762,7 +762,7 @@ sub initialize( $;$$) {
AUTOHELPERS => undef,
RESTORE_ROUTEMARKS => undef,
IGNOREUNKNOWNVARIABLES => undef,
IGNOREOLDCAPS => undef,
WARNOLDCAPVERSION => undef,
#
# Packet Disposition
#
@ -5038,7 +5038,7 @@ sub get_configuration( $$$$ ) {
default_yes_no 'AUTOHELPERS' , 'Yes';
default_yes_no 'RESTORE_ROUTEMARKS' , 'Yes';
default_yes_no 'IGNOREUNKNOWNVARIABLES' , 'Yes';
default_yes_no 'IGNOREOLDCAPS' , '';
default_yes_no 'WARNOLDCAPVERSION' , 'Yes';
$config{IPSET} = '' if supplied $config{IPSET} && $config{IPSET} eq 'ipset';
@ -5314,7 +5314,7 @@ sub get_configuration( $$$$ ) {
require_capability( 'XCONNMARK' , 'HIGH_ROUTE_MARKS=Yes' , 's' ) if $config{PROVIDER_OFFSET} > 0;
require_capability( 'MANGLE_ENABLED' , 'Traffic Shaping' , 's' ) if $config{TC_ENABLED};
unless ( $config{IGNOREOLDCAPS} ) {
if ( $config{WARNOLDCAPVERSION} ) {
if ( $capabilities{CAPVERSION} ) {
warning_message "Your capabilities file is out of date -- it does not contain all of the capabilities defined by $Product version $globals{VERSION}"
unless $capabilities{CAPVERSION} >= $globals{CAPVERSION};

View File

@ -114,8 +114,6 @@ ADD_SNAT_ALIASES=No
ADMINISABSENTMINDED=Yes
IGNOREOLDCAPVERSIONS=No
IGNOREUNKNOWNVARIABLES=No
AUTOCOMMENT=Yes
@ -210,6 +208,8 @@ USE_DEFAULT_RT=No
USE_PHYSICAL_NAMES=No
WARNOLDCAPVERSION=Yes
ZONE2ZONE=2
###############################################################################

View File

@ -125,8 +125,6 @@ ADD_SNAT_ALIASES=No
ADMINISABSENTMINDED=Yes
IGNOREOLDCAPVERSIONS=No
IGNOREUNKNOWNVARIABLES=No
AUTOCOMMENT=Yes
@ -221,6 +219,8 @@ USE_DEFAULT_RT=No
USE_PHYSICAL_NAMES=No
WARNOLDCAPVERSION=Yes
ZONE2ZONE=2
###############################################################################

View File

@ -123,8 +123,6 @@ ADD_SNAT_ALIASES=No
ADMINISABSENTMINDED=Yes
IGNOREOLDCAPVERSIONS=No
IGNOREUNKNOWNVARIABLES=No
AUTOCOMMENT=Yes
@ -219,6 +217,8 @@ USE_DEFAULT_RT=No
USE_PHYSICAL_NAMES=No
WARNOLDCAPVERSION=Yes
ZONE2ZONE=2
###############################################################################

View File

@ -126,8 +126,6 @@ ADD_SNAT_ALIASES=No
ADMINISABSENTMINDED=Yes
IGNOREOLDCAPVERSIONS=No
IGNOREUNKNOWNVARIABLES=No
AUTOCOMMENT=Yes
@ -222,6 +220,8 @@ USE_DEFAULT_RT=No
USE_PHYSICAL_NAMES=No
WARNOLDCAPVERSION=Yes
ZONE2ZONE=2
###############################################################################

View File

@ -114,8 +114,6 @@ ADD_SNAT_ALIASES=No
ADMINISABSENTMINDED=Yes
IGNOREOLDCAPVERSIONS=No
IGNOREUNKNOWNVARIABLES=No
AUTOCOMMENT=Yes
@ -210,6 +208,8 @@ USE_DEFAULT_RT=No
USE_PHYSICAL_NAMES=No
WARNOLDCAPVERSION=Yes
ZONE2ZONE=2
###############################################################################

View File

@ -280,20 +280,6 @@
</listitem>
</varlistentry>
<varlistentry>
<term><emphasis role="bold">IGNOREOLDCAPVERSIONS=</emphasis>[<emphasis
role="bold">Yes</emphasis>|<emphasis role="bold">No</emphasis>]</term>
<listitem>
<para>Added in Shorewall 4.5.12. When set to <emphasis
role="bold">No</emphasis> (the default), the compiler issues a
warning when it finds a capabilities file that doesn't specify all
of the capabilities supported by the compiler. When
IGNOREOLDCAPVERSIONS is set to <emphasis role="bold">Yes</emphasis>,
no warning is issued.</para>
</listitem>
</varlistentry>
<varlistentry>
<term><emphasis
role="bold">IGNOREUNKNOWNVARIABLES=</emphasis>[<emphasis
@ -2469,6 +2455,20 @@ net all DROP info</programlisting>then the chain name is 'net2all'
</listitem>
</varlistentry>
<varlistentry>
<term><emphasis role="bold">WARNOLDCAPVERSION=</emphasis>[<emphasis
role="bold">Yes</emphasis>|<emphasis role="bold">No</emphasis>]</term>
<listitem>
<para>Added in Shorewall 4.5.12. When set to <emphasis
role="bold">Yes</emphasis> (the default), the compiler issues a
warning when it finds a capabilities file that doesn't specify all
of the capabilities supported by the compiler. When
WARNOLDCAPVERSION is set to <emphasis role="bold">No</emphasis>, no
warning is issued.</para>
</listitem>
</varlistentry>
<varlistentry>
<term><emphasis role="bold">WIDE_TC_MARKS=</emphasis>{<emphasis
role="bold">Yes</emphasis>|<emphasis role="bold">No</emphasis>}</term>

View File

@ -109,8 +109,6 @@ ACCOUNTING_TABLE=filter
ADMINISABSENTMINDED=Yes
IGNOREOLDCAPVERSIONS=No
IGNOREUNKNOWNVARIABLES=No
AUTOCOMMENT=Yes
@ -187,6 +185,8 @@ USE_DEFAULT_RT=No
USE_PHYSICAL_NAMES=No
WARNOLDCAPVERSION=Yes
ZONE2ZONE=2
###############################################################################

View File

@ -109,8 +109,6 @@ ACCOUNTING_TABLE=filter
ADMINISABSENTMINDED=Yes
IGNOREOLDCAPVERSIONS=No
IGNOREUNKNOWNVARIABLES=No
AUTOCOMMENT=Yes
@ -187,6 +185,8 @@ USE_DEFAULT_RT=No
USE_PHYSICAL_NAMES=No
WARNOLDCAPVERSION=Yes
ZONE2ZONE=2
###############################################################################

View File

@ -109,8 +109,6 @@ ACCOUNTING_TABLE=filter
ADMINISABSENTMINDED=Yes
IGNOREOLDCAPVERSIONS=No
IGNOREUNKNOWNVARIABLES=No
AUTOCOMMENT=Yes
@ -187,6 +185,8 @@ USE_DEFAULT_RT=No
USE_PHYSICAL_NAMES=No
WARNOLDCAPVERSION=Yes
ZONE2ZONE=2
###############################################################################

View File

@ -109,8 +109,6 @@ ACCOUNTING_TABLE=filter
ADMINISABSENTMINDED=Yes
IGNOREOLDCAPVERSIONS=No
IGNOREUNKNOWNVARIABLES=No
AUTOCOMMENT=Yes
@ -187,6 +185,8 @@ USE_DEFAULT_RT=No
USE_PHYSICAL_NAMES=No
WARNOLDCAPVERSION=Yes
ZONE2ZONE=2
###############################################################################

View File

@ -109,8 +109,6 @@ ACCOUNTING_TABLE=filter
ADMINISABSENTMINDED=Yes
IGNOREOLDCAPVERSIONS=No
IGNOREUNKNOWNVARIABLES=No
AUTOCOMMENT=Yes
@ -187,6 +185,8 @@ USE_DEFAULT_RT=No
USE_PHYSICAL_NAMES=No
WARNOLDCAPVERSION=Yes
ZONE2ZONE=2
###############################################################################

View File

@ -217,20 +217,6 @@
</listitem>
</varlistentry>
<varlistentry>
<term><emphasis role="bold">IGNOREOLDCAPVERSIONS=</emphasis>[<emphasis
role="bold">Yes</emphasis>|<emphasis role="bold">No</emphasis>]</term>
<listitem>
<para>Added in Shorewall 4.5.12. When set to <emphasis
role="bold">No</emphasis> (the default), the compiler issues a
warning when it finds a capabilities file that doesn't specify all
of the capabilities supported by the compiler. When
IGNOREOLDCAPVERSIONS is set to <emphasis role="bold">Yes</emphasis>,
no warning is issued.</para>
</listitem>
</varlistentry>
<varlistentry>
<term><emphasis
role="bold">IGNOREUNKNOWNVARIABLES=</emphasis>[<emphasis
@ -2185,6 +2171,20 @@ net all DROP info</programlisting>then the chain name is 'net2all'
</listitem>
</varlistentry>
<varlistentry>
<term><emphasis role="bold">WARNOLDCAPVERSION=</emphasis>[<emphasis
role="bold">Yes</emphasis>|<emphasis role="bold">No</emphasis>]</term>
<listitem>
<para>Added in Shorewall 4.5.12. When set to <emphasis
role="bold">Yes</emphasis> (the default), the compiler issues a
warning when it finds a capabilities file that doesn't specify all
of the capabilities supported by the compiler. When
WARNOLDCAPVERSION is set to <emphasis role="bold">No</emphasis>, no
warning is issued.</para>
</listitem>
</varlistentry>
<varlistentry>
<term><emphasis role="bold">WIDE_TC_MARKS=</emphasis>{<emphasis
role="bold">Yes</emphasis>|<emphasis role="bold">No</emphasis>}</term>