Permalink
Browse files

substitute double for single quotes in firewall rules

  • Loading branch information...
1 parent 959c2a7 commit c4fd5eea173ed271732bd6d7b82d6abda687614a @jnorell jnorell committed Jan 15, 2014
Showing with 1 addition and 0 deletions.
  1. +1 −0 vzfirewall
View
@@ -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;

0 comments on commit c4fd5ee

Please sign in to comment.