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/?p=people%2Fteissler%2Fipfire-2.x.git;a=commitdiff_plain;h=04abd8d95822b660e65cc1a85dac55f2791ae27f;hp=eff2dbf8336c3935535a5f5565bfc27c4fccd4bb 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 c984ee07f..aa4006869 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);