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

Ivan,,, ivan at wavetail.420.am
Wed Oct 5 18:21:12 PDT 2011


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

Modified Files:
      Tag: FREESIDE_2_3_BRANCH
	Torrus_Internal.pm 
Log Message:
fix interface addition for ports with dashes (Juniper, others), RT#14703

Index: Torrus_Internal.pm
===================================================================
RCS file: /home/cvs/cvsroot/freeside/FS/FS/NetworkMonitoringSystem/Torrus_Internal.pm,v
retrieving revision 1.18
retrieving revision 1.18.2.1
diff -u -w -d -r1.18 -r1.18.2.1
--- Torrus_Internal.pm	15 May 2011 01:43:40 -0000	1.18
+++ Torrus_Internal.pm	6 Oct 2011 01:21:10 -0000	1.18.2.1
@@ -178,6 +178,7 @@
 
   $interface =~ s(\/)(_)g; #slashes become underscores
   $interface =~ s(\.)(_)g; #periods too, huh
+  $interface =~ s(\-)(_)g; #yup, and dashes
 
   #should just use a proper XML parser huh
 



More information about the freeside-commits mailing list