]> git.ipfire.org Git - people/teissler/ipfire-2.x.git/blobdiff - html/cgi-bin/tor.cgi
tor: The slowest bandwidth rate for a relay is 20 kbyte/s.
[people/teissler/ipfire-2.x.git] / html / cgi-bin / tor.cgi
index 2ae9b6aebca6dbfbedd8c521ca1741d6f7eb623e..dca5fda143c2e596329cfc8300166b74e991aaa5 100644 (file)
@@ -51,8 +51,7 @@ my @bandwidth_limits = (
               1024, # 1M
                512,
                256,
-               128,
-                64
+               160
 );
 my @accounting_periods = ('daily', 'weekly', 'monthly');
 
@@ -509,10 +508,12 @@ END
 
                my @nodes = &TorORConnStatus($torctrl);
                if (@nodes) {
+                       my $nodes_length = scalar @nodes;
                        print <<END;
                                <table width='100%'>
                                        <tr>
-                                               <td colspan='3' class='base'><b>$Lang::tr{'tor connected relays'}</b></td>
+                                               <td width='40%' class='base'><b>$Lang::tr{'tor connected relays'}</b></td>
+                                               <td width='60%' colspan='2'>($nodes_length)</td>
                                        </tr>
 END