fix ports with dashes (-) not showing their monitoring status, RT#14926
[freeside.git] / FS / FS / NetworkMonitoringSystem / Torrus_Internal.pm
index 6b89090..04a6b29 100644 (file)
@@ -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