[freeside-commits] freeside/FS/FS/NetworkMonitoringSystem Torrus_Internal.pm, 1.11, 1.12
Ivan,,,
ivan at wavetail.420.am
Mon Feb 28 15:42:48 PST 2011
Update of /home/cvs/cvsroot/freeside/FS/FS/NetworkMonitoringSystem
In directory wavetail.420.am:/tmp/cvs-serv27951
Modified Files:
Torrus_Internal.pm
Log Message:
periods become underscores in router.ddx interface names too
Index: Torrus_Internal.pm
===================================================================
RCS file: /home/cvs/cvsroot/freeside/FS/FS/NetworkMonitoringSystem/Torrus_Internal.pm,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -w -d -r1.11 -r1.12
--- Torrus_Internal.pm 27 Feb 2011 19:20:37 -0000 1.11
+++ Torrus_Internal.pm 28 Feb 2011 23:42:46 -0000 1.12
@@ -137,7 +137,8 @@
sub add_interface {
my($self, $router_ip, $interface, $serviceid ) = @_;
- $interface =~ s(\/)(_)g;
+ $interface =~ s(\/)(_)g; #slashes become underscores
+ $interface =~ s(\.)(_)g; #periods too, huh
#should just use a proper XML parser huh
More information about the freeside-commits
mailing list