Restore version 1.4 of the rules file -- allow removing common action

git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@1154 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
teastep 2004-02-17 22:56:04 +00:00
parent b1a544a107
commit 080bdfa9e2
2 changed files with 5 additions and 1 deletions

View File

@ -2427,6 +2427,8 @@ process_actions1() {
;; ;;
esac esac
esac esac
[ -z "$xaction" ] && continue
[ "$xaction" = "$(chain_base $xaction)" ] || fatal_error "Invalid Action Name: $xaction" [ "$xaction" = "$(chain_base $xaction)" ] || fatal_error "Invalid Action Name: $xaction"

View File

@ -39,6 +39,7 @@
# Like REDIRET but only generates the # Like REDIRET but only generates the
# REDIRECT iptables rule and not # REDIRECT iptables rule and not
# the companion ACCEPT rule. # the companion ACCEPT rule.
#
# CONTINUE -- (For experts only). Do not process # CONTINUE -- (For experts only). Do not process
# any of the following rules for this # any of the following rules for this
# (source zone,destination zone). If # (source zone,destination zone). If
@ -50,7 +51,8 @@
# (those) zone(s). # (those) zone(s).
# LOG -- Simply log the packet and continue. # LOG -- Simply log the packet and continue.
# QUEUE -- Queue the packet to a user-space # QUEUE -- Queue the packet to a user-space
# application such as p2pwall. # application such as ftwall
# (http://p2pwall.sf.net).
# <action> -- The name of an action defined in # <action> -- The name of an action defined in
# /etc/shorewall/actions. # /etc/shorewall/actions.
# #