Reword error message

git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@745 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
teastep 2003-09-22 21:44:22 +00:00
parent 9f14855704
commit ddb925c133
2 changed files with 4 additions and 4 deletions

View File

@ -82,4 +82,4 @@ Changes since 1.4.6
36) Extend USER SET column in /etc/shorewall/rules to allow user:group.
37) Reword error message to avoid the word 'illegal'.

View File

@ -2569,15 +2569,15 @@ process_rule() # $1 = target
logtarget="$target"
dnat_only=
[ "x$userset" = x- ] && userset=
# Tranform the rule:
#
# - parse the user set specification
# - set 'target' to the filter table target.
# - make $FW the destination for REDIRECT
# - remove '-' suffix from logtargets while setting 'dnat_only'
# - clear 'address' if it has been set to '-'
[ "x$userset" = x- ] && userset=
[ "x$address" = "x-" ] && address=
if [ -n "$userset" ]; then
@ -4074,7 +4074,7 @@ add_common_rules() {
logdrop|DROP|RETURN)
;;
*)
fatal_error "Illegal target ($target) for $subnet"
fatal_error "Invalid target ($target) for $subnet"
;;
esac