Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

substitute double for single quotes in firewall rules

  • Loading branch information...
commit c4fd5eea173ed271732bd6d7b82d6abda687614a 1 parent 959c2a7
@jnorell jnorell authored
Showing with 1 addition and 0 deletions.
  1. +1 −0  vzfirewall
View
1  vzfirewall
@@ -354,6 +354,7 @@ sub read_conf {
for (my $i = 0; $i < @matches; $i += 3) {
my $data = $matches[$i + 2];
$data =~ s/^#//mg if $matches[$i];
+ $data =~ s/'/"/sg;
$opts{$matches[$i + 1]} = $data;
}
return \%opts;
Please sign in to comment.
Something went wrong with that request. Please try again.