diff --git a/Shorewall/Perl/Shorewall/Chains.pm b/Shorewall/Perl/Shorewall/Chains.pm index 9de4ed8fd..1fe624168 100644 --- a/Shorewall/Perl/Shorewall/Chains.pm +++ b/Shorewall/Perl/Shorewall/Chains.pm @@ -4575,7 +4575,7 @@ sub do_proto( $$$;$ ) $output = "${invert}-p ${proto} "; } else { fatal_error '":syn" is only allowed with tcp' unless $proto == TCP && ! $invert; - $output = $notsyn ? "-p $proto ! --syn" : "-p $proto --syn "; + $output = $notsyn ? "-p $proto ! --syn " : "-p $proto --syn "; } fatal_error "SOURCE/DEST PORT(S) not allowed with PROTO !$pname" if $invert && ($ports ne '' || $sports ne '');