]> git.ipfire.org Git - people/teissler/ipfire-2.x.git/blobdiff - html/cgi-bin/fwhosts.cgi
Forward Firewall: bugfix: counter failure when adding one host to more than 1 Group
[people/teissler/ipfire-2.x.git] / html / cgi-bin / fwhosts.cgi
index c984ee07ff35b5fb0ac5602c17ce417c6a2e139f..aa4006869ca25a689f6b61f66cb776a4d77613fb 100755 (executable)
@@ -669,7 +669,7 @@ if ($fwhostsettings{'ACTION'} eq 'savegrp')
                }elsif($updcounter eq 'host'){
                        foreach my $key (keys %customhost) {
                                if ($customhost{$key}[0] eq $fwhostsettings{'CUST_SRC_HOST'}){
-                                       $customhost{$key}[4]=$customhost{$key}[3]+1;
+                                       $customhost{$key}[4]=$customhost{$key}[4]+1;
                                }
                        }
                        &General::writehasharray("$confighost", \%customhost);