[freeside-commits] freeside/FS/FS/NetworkMonitoringSystem Torrus_Internal.pm, 1.19, 1.20
Ivan,,,
ivan at wavetail.420.am
Tue Oct 25 19:44:18 PDT 2011
Update of /home/cvs/cvsroot/freeside/FS/FS/NetworkMonitoringSystem
In directory wavetail.420.am:/tmp/cvs-serv17189/FS/FS/NetworkMonitoringSystem
Modified Files:
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.19
retrieving revision 1.20
diff -u -w -d -r1.19 -r1.20
--- Torrus_Internal.pm 6 Oct 2011 01:21:10 -0000 1.19
+++ Torrus_Internal.pm 26 Oct 2011 02:44:16 -0000 1.20
@@ -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