forked from extern/shorewall_code
Correct fw->fw rule catcher
git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@331 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
parent
a511b9b485
commit
0ad28aae80
@ -842,7 +842,7 @@ validate_rule() {
|
||||
|
||||
chain=${source}2${dest}
|
||||
|
||||
if [ "x$chain" = xfw2fw ]; then
|
||||
if [ "x$chain" = x${FW}2${FW} ]; then
|
||||
error_message "WARNING: fw -> fw rules are not supported; rule \"$rule\" ignored"
|
||||
return
|
||||
fi
|
||||
@ -2079,7 +2079,7 @@ process_rule() {
|
||||
|
||||
chain=${source}2${dest}
|
||||
|
||||
if [ "x$chain" = xfw2fw ]; then
|
||||
if [ "x$chain" = x${FW}2${FW} ]; then
|
||||
error_message "WARNING: fw -> fw rules are not supported; rule \"$rule\" ignored"
|
||||
return
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user