[freeside-commits] freeside/FS/FS/NetworkMonitoringSystem Torrus_Internal.pm, 1.18.2.1, 1.18.2.2

Ivan,,, ivan at wavetail.420.am
Tue Oct 25 19:44:20 PDT 2011


Update of /home/cvs/cvsroot/freeside/FS/FS/NetworkMonitoringSystem
In directory wavetail.420.am:/tmp/cvs-serv17191/FS/FS/NetworkMonitoringSystem

Modified Files:
      Tag: FREESIDE_2_3_BRANCH
	Torrus_Internal.pm 
Log Message:
fix ports with dashes (-) not showing their monitoring status, RT#14926

Index: Torrus_Internal.pm
===================================================================
RCS file: /home/cvs/cvsroot/freeside/FS/FS/NetworkMonitoringSystem/Torrus_Internal.pm,v
retrieving revision 1.18.2.1
retrieving revision 1.18.2.2
diff -u -w -d -r1.18.2.1 -r1.18.2.2
--- Torrus_Internal.pm	6 Oct 2011 01:21:10 -0000	1.18.2.1
+++ Torrus_Internal.pm	26 Oct 2011 02:44:18 -0000	1.18.2.2
@@ -176,6 +176,7 @@
 sub add_interface {
   my($self, $router_ip, $interface, $serviceid ) = @_;
 
+  #false laziness w/torrus/perllib/Torrus/Renderer.pm iface_underscore, update both
   $interface =~ s(\/)(_)g; #slashes become underscores
   $interface =~ s(\.)(_)g; #periods too, huh
   $interface =~ s(\-)(_)g; #yup, and dashes



More information about the freeside-commits mailing list