From b490e791cc60013989d908041f174467e362a1ea Mon Sep 17 00:00:00 2001 From: ivan Date: Wed, 26 Oct 2011 02:44:16 +0000 Subject: fix ports with dashes (-) not showing their monitoring status, RT#14926 --- FS/FS/NetworkMonitoringSystem/Torrus_Internal.pm | 1 + 1 file changed, 1 insertion(+) (limited to 'FS') 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 -- cgit v1.2.1