]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/commitdiff
firewall-lib.pl: Fix typo.
authorStefan Schantl <stefan.schantl@ipfire.org>
Sat, 13 Jun 2020 17:10:15 +0000 (19:10 +0200)
committerStefan Schantl <stefan.schantl@ipfire.org>
Sat, 13 Jun 2020 17:10:15 +0000 (19:10 +0200)
Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
config/firewall/firewall-lib.pl

index 1aecefd421ee61c86d125b87958d7e81cfb2b020..bc0b30ca5c7b87939721e1dd3bf31f6549541f75 100644 (file)
@@ -323,7 +323,7 @@ sub get_addresses
                }
        }elsif ($addr_type ~~ ["cust_location_src", "cust_location_tgt"] && $value =~ "group:") {
                $value=substr($value,6);
-               foreach my $grp (sort {$a <=> $b} keys %customlocationpgrp) {
+               foreach my $grp (sort {$a <=> $b} keys %customlocationgrp) {
                        if ($customlocationgrp{$grp}[0] eq $value) {
                                my @address = &get_address($addr_type, $customlocationgrp{$grp}[2], $type);