diff options
author | ivan <ivan> | 2011-10-06 01:21:11 +0000 |
---|---|---|
committer | ivan <ivan> | 2011-10-06 01:21:11 +0000 |
commit | df3482d6261b24e2e8223778f0a27cdc42a900d9 (patch) | |
tree | 63a49caecf1541c0d8e83022e2dea950caf57b5b | |
parent | ec7674d914e219ebe2ba587a657a75306c07a8a8 (diff) |
fix interface addition for ports with dashes (Juniper, others), RT#14703
-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 bd016a123..6b89090f8 100644 --- a/FS/FS/NetworkMonitoringSystem/Torrus_Internal.pm +++ b/FS/FS/NetworkMonitoringSystem/Torrus_Internal.pm @@ -178,6 +178,7 @@ sub add_interface { $interface =~ s(\/)(_)g; #slashes become underscores $interface =~ s(\.)(_)g; #periods too, huh + $interface =~ s(\-)(_)g; #yup, and dashes #should just use a proper XML parser huh |