diff options
author | ivan <ivan> | 2011-02-28 23:42:46 +0000 |
---|---|---|
committer | ivan <ivan> | 2011-02-28 23:42:46 +0000 |
commit | 8c60c13c61af9bb555bba77f3591b378f4c3b72e (patch) | |
tree | fc950c5db0e4939ecc9ec03b72624f4f7c371cf4 /FS | |
parent | ae97c1ccb5052608d65ca30f073029d38d0d9a4e (diff) |
periods become underscores in router.ddx interface names too
Diffstat (limited to 'FS')
-rw-r--r-- | FS/FS/NetworkMonitoringSystem/Torrus_Internal.pm | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/FS/FS/NetworkMonitoringSystem/Torrus_Internal.pm b/FS/FS/NetworkMonitoringSystem/Torrus_Internal.pm index 1cc5d2af5..f2194f811 100644 --- a/FS/FS/NetworkMonitoringSystem/Torrus_Internal.pm +++ b/FS/FS/NetworkMonitoringSystem/Torrus_Internal.pm @@ -137,7 +137,8 @@ sub add_router { 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 |