Fix typo in shorewall.conf manpage

git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@6320 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
teastep 2007-05-10 17:07:46 +00:00
parent 730077c2fc
commit 613df34c38
2 changed files with 4 additions and 4 deletions

View File

@ -589,12 +589,12 @@ sub process_actions3 () {
my @tag = split /,/, $tag;
fatal_error 'Limit rules must include <set name>,<max connections>,<interval> as the log tag' unless @tag == 3;
fatal_error 'Limit rules must include <set name>,<max connections>,<interval> as the log tag (' . join( ':', 'Limit', $level eq '' ? 'none' : $level , $tag ) . ')' unless @tag == 3;
my $set = $tag[0];
for ( @tag[1,2] ) {
fatal_error "Max connections and interval in Limit rules must be numeric" unless /^\d+$/
fatal_error 'Max connections and interval in Limit rules must be numeric (' . join( ':', 'Limit', $level eq '' ? 'none' : $level, $tag ) . ')' unless /^\d+$/
}
my $count = $tag[1] + 1;

View File

@ -392,7 +392,7 @@
</varlistentry>
<varlistentry>
<term><emphasis role="bold">DETECT_DNAT_ADDRS=</emphasis>[<emphasis
<term><emphasis role="bold">DETECT_DNAT_IPADDRS=</emphasis>[<emphasis
role="bold">Yes</emphasis>|<emphasis role="bold">No</emphasis>]</term>
<listitem>
@ -403,7 +403,7 @@
to <emphasis role="bold">No</emphasis> or <emphasis
role="bold">no</emphasis>, Shorewall will not detect this address
and any destination IP address will match the DNAT rule. If not
specified or empty, “DETECT_DNAT_ADDRS=Yes” is assumed.</para>
specified or empty, “DETECT_DNAT_IPADDRS=Yes” is assumed.</para>
</listitem>
</varlistentry>