summaryrefslogtreecommitdiff
path: root/FS/FS/NetworkMonitoringSystem/Torrus_Internal.pm
diff options
context:
space:
mode:
Diffstat (limited to 'FS/FS/NetworkMonitoringSystem/Torrus_Internal.pm')
-rw-r--r--FS/FS/NetworkMonitoringSystem/Torrus_Internal.pm3
1 files changed, 2 insertions, 1 deletions
diff --git a/FS/FS/NetworkMonitoringSystem/Torrus_Internal.pm b/FS/FS/NetworkMonitoringSystem/Torrus_Internal.pm
index 1cc5d2a..f2194f8 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