diff --git a/html/cgi-bin/iptables.cgi b/html/cgi-bin/iptables.cgi index 080371b37..886330d0e 100644 --- a/html/cgi-bin/iptables.cgi +++ b/html/cgi-bin/iptables.cgi @@ -106,8 +106,9 @@ END } $lines++; - + } + $chains{$chainname."end"} = $lines-1; close (FILE); # now the chain hash is extracted to get the correct name of the chain @@ -119,7 +120,7 @@ END # colored gui print "