diff options
author | ivan <ivan> | 2011-10-26 02:44:16 +0000 |
---|---|---|
committer | ivan <ivan> | 2011-10-26 02:44:16 +0000 |
commit | b490e791cc60013989d908041f174467e362a1ea (patch) | |
tree | b9d1417a0e2364bb6c797d806103b410fb7f9be2 /FS/FS/NetworkMonitoringSystem | |
parent | e887e22070daeb6ed428f43f718506c5931b7969 (diff) |
fix ports with dashes (-) not showing their monitoring status, RT#14926
Diffstat (limited to 'FS/FS/NetworkMonitoringSystem')
-rw-r--r-- | FS/FS/NetworkMonitoringSystem/Torrus_Internal.pm | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/FS/FS/NetworkMonitoringSystem/Torrus_Internal.pm b/FS/FS/NetworkMonitoringSystem/Torrus_Internal.pm index 6b89090..04a6b29 100644 --- a/FS/FS/NetworkMonitoringSystem/Torrus_Internal.pm +++ b/FS/FS/NetworkMonitoringSystem/Torrus_Internal.pm @@ -176,6 +176,7 @@ sub add_router { 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 |