mirror of
https://gitlab.com/shorewall/code.git
synced 2025-06-25 12:13:29 +02:00
Fix silly typo
git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@4493 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
parent
c176eab8b7
commit
1c6c8607d0
@ -395,7 +395,8 @@ ensurenatchain() # $1 = chain name
|
|||||||
}
|
}
|
||||||
|
|
||||||
#
|
#
|
||||||
# Add a rule to a nat chain creating the chain if necessary
|
# Add a rule to a nat chain creating the chain if necessary%attr(0444,root,root) /usr/share/shorewall/lib.accounting
|
||||||
|
|
||||||
#
|
#
|
||||||
addnatrule() # $1 = chain name, remainder of arguments specify the rule
|
addnatrule() # $1 = chain name, remainder of arguments specify the rule
|
||||||
{
|
{
|
||||||
@ -444,7 +445,7 @@ validate_policy()
|
|||||||
none)
|
none)
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
if ! list_search $default USEDACTIONS; then
|
if ! list_search $default $USEDACTIONS; then
|
||||||
if ! list_search $default $DEFAULT_MACROS; then
|
if ! list_search $default $DEFAULT_MACROS; then
|
||||||
if [ ! -f $(find_file macro.$default) ]; then
|
if [ ! -f $(find_file macro.$default) ]; then
|
||||||
fatal_error "Default Action/Macro $var=$default not found"
|
fatal_error "Default Action/Macro $var=$default not found"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user