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