From: Alexander Marx Date: Mon, 29 Apr 2013 14:12:14 +0000 (+0200) Subject: Forward Firewall: bugfix: counter failure when adding one host to more than 1 Group X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=701eb25b08631d12c97a93486916a8b0139db0cf;p=people%2Fms%2Fipfire-2.x.git Forward Firewall: bugfix: counter failure when adding one host to more than 1 Group --- diff --git a/html/cgi-bin/fwhosts.cgi b/html/cgi-bin/fwhosts.cgi index c984ee07ff..aa4006869c 100755 --- a/html/cgi-bin/fwhosts.cgi +++ b/html/cgi-bin/fwhosts.cgi @@ -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);