mirror of
https://gitlab.com/shorewall/code.git
synced 2024-11-15 04:04:10 +01:00
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:
parent
9f14855704
commit
ddb925c133
@ -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'.
|
||||
|
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user