Improve error message

git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@2039 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
teastep 2005-04-10 23:08:21 +00:00
parent 60a73ef02f
commit c88fbbe24a
3 changed files with 10 additions and 2 deletions

View File

@ -4,6 +4,8 @@ Changes in 2.2.4
2) Add 'started' hook.
3) Make an error message more self-explanatory
Changes in 2.2.3
1) Added the 'continue' extension script.

View File

@ -5001,7 +5001,7 @@ rules_chain() # $1 = source zone, $2 = destination zone
[ -n "$chain" ] && { echo $chain; return; }
fatal_error "No appropriate chain for zone $1 to zone $2"
fatal_error "No policy defined for zone $1 to zone $2"
}
#

View File

@ -3,7 +3,13 @@ Shorewall 2.2.4
-----------------------------------------------------------------------
Problems corrected in version 2.2.4
None.
1) The error message:
Error: No appropriate chain for zone <z1> to zone <z2>
has been changed to one that is more self-explanatory:
Error: No policy defined for zone <z1> to zone <z2>
-----------------------------------------------------------------------
New Features in version 2.2.4