diff options
author | ivan <ivan> | 2011-10-26 02:44:18 +0000 |
---|---|---|
committer | ivan <ivan> | 2011-10-26 02:44:18 +0000 |
commit | 87f8f4265f722e83e3307d0f8ec092e93b3063f7 (patch) | |
tree | 09d46e07ee5e033f81972325f469e97a865cdc1c /FS | |
parent | f084388d2e552f3e2a44d1705cb2930b2c9e4989 (diff) |
fix ports with dashes (-) not showing their monitoring status, RT#14926
Diffstat (limited to 'FS')
-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 6b89090f8..04a6b2954 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 |