mirror of
https://gitlab.com/shorewall/code.git
synced 2025-06-20 09:47:51 +02:00
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:
parent
730077c2fc
commit
613df34c38
@ -589,12 +589,12 @@ sub process_actions3 () {
|
|||||||
|
|
||||||
my @tag = split /,/, $tag;
|
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];
|
my $set = $tag[0];
|
||||||
|
|
||||||
for ( @tag[1,2] ) {
|
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;
|
my $count = $tag[1] + 1;
|
||||||
|
@ -392,7 +392,7 @@
|
|||||||
</varlistentry>
|
</varlistentry>
|
||||||
|
|
||||||
<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>
|
role="bold">Yes</emphasis>|<emphasis role="bold">No</emphasis>]</term>
|
||||||
|
|
||||||
<listitem>
|
<listitem>
|
||||||
@ -403,7 +403,7 @@
|
|||||||
to <emphasis role="bold">No</emphasis> or <emphasis
|
to <emphasis role="bold">No</emphasis> or <emphasis
|
||||||
role="bold">no</emphasis>, Shorewall will not detect this address
|
role="bold">no</emphasis>, Shorewall will not detect this address
|
||||||
and any destination IP address will match the DNAT rule. If not
|
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>
|
</listitem>
|
||||||
</varlistentry>
|
</varlistentry>
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user