From dbbfa597802569ab51526704c0cf2ea3512ea0d1 Mon Sep 17 00:00:00 2001 From: teastep Date: Thu, 3 May 2007 21:57:45 +0000 Subject: [PATCH] Fix dnat-only rules with 'DETECT_DNAT_ADDRS' -- Take 3 git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@6225 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb --- Shorewall-shell/compiler | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Shorewall-shell/compiler b/Shorewall-shell/compiler index c6a79b1a2..a719fcb86 100755 --- a/Shorewall-shell/compiler +++ b/Shorewall-shell/compiler @@ -1916,7 +1916,7 @@ __EOF__ run_iptables2 -A $chain $state $proto $multiport $cli $sports \ $dports $ratelimit $user $mrk -j $target fi - elif [ -n "$srv" -a "$addr" = detect ]; then + elif [ -n "$serv" -a "$addr" = detect ]; then save_command 'done' save_command '' fi