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-Tag: v2.15-beta1~290^2~11^2~76 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=04abd8d95822b660e65cc1a85dac55f2791ae27f;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);