From 8cafcac8db50a414a4a02b2aa28489017053edd0 Mon Sep 17 00:00:00 2001 From: teastep Date: Thu, 3 May 2007 00:11:56 +0000 Subject: [PATCH] Fix action DEST handling git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@6202 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb --- Shorewall-shell/lib.actions | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Shorewall-shell/lib.actions b/Shorewall-shell/lib.actions index 4f1de00cd..18e19a875 100644 --- a/Shorewall-shell/lib.actions +++ b/Shorewall-shell/lib.actions @@ -145,6 +145,10 @@ add_an_action() case "$server" in -) ;; + *:*) + action_interface_verify ${server%:*} + serv="$(match_dest_dev ${server%:*}) $(dest_ip_range ${server#*:})" + ;; *.*.*|+*|!+*) serv=$server ;;