Hi,

we are using nfsen with PortTracker plugin but we find very unreadable
the way big numbers are showed in the PortTracker website. So we added
number_format to top10 values in order to have a better and quicker view
on the numbers. If others are interested, I have attached a patch.


-- 
=====================================
Manuel SUBREDU
Network Engineer at AARNIEC/RoEduNet
RoCSIRT Coordinator
mobile: +40 (758) 808 052
phone:  +40 (232) 201 007
fax:    +40 (232) 201 200
e-mail: [email protected]
=====================================

--- PortTracker.php 2012-04-12 13:11:25.000000000 +0300
+++ PortTracker.php.orig  2012-04-12 13:23:23.000000000 +0300
@@ -379,7 +379,7 @@
    for ( $proto=1; $proto<3; $proto++ ) {
      for ($type=0; $type<3; $type++) {
        print "<td bgcolor='#A8A8A8' align='right'>" . 
$topNinfo[$proto][$type][0][$i] . "</td>\n";
-       print "<td bgcolor='#CCCCCC' align='right'>" . 
number_format($topNinfo[$proto][$type][1][$i]) . "</td>\n";
+       print "<td bgcolor='#CCCCCC' align='right'>" . 
$topNinfo[$proto][$type][1][$i] . "</td>\n";
      }
    }
    print "</tr>\n";

Attachment: signature.asc
Description: OpenPGP digital signature

------------------------------------------------------------------------------
For Developers, A Lot Can Happen In A Second.
Boundary is the first to Know...and Tell You.
Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
http://p.sf.net/sfu/Boundary-d2dvs2
_______________________________________________
Nfsen-discuss mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nfsen-discuss

Reply via email to