Fix another Macro bug

git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@2597 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
teastep 2005-08-30 22:35:19 +00:00
parent 0d67813fa4
commit 988afa6bf5

View File

@ -5839,7 +5839,7 @@ process_macro() # $1 = target
;;
esac
case $mtarget in
case ${mtarget%%:*} in
ACCEPT|ACCEPT+|NONAT|DROP|REJECT|DNAT|DNAT-|REDIRECT|REDIRECT-|LOG|CONTINUE|QUEUE|SAME|SAME-)
;;
*)