projects
/
freeside.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ae97c1c
)
periods become underscores in router.ddx interface names too
author
ivan
<ivan>
Mon, 28 Feb 2011 23:42:46 +0000
(23:42 +0000)
committer
ivan
<ivan>
Mon, 28 Feb 2011 23:42:46 +0000
(23:42 +0000)
FS/FS/NetworkMonitoringSystem/Torrus_Internal.pm
patch
|
blob
|
history
diff --git
a/FS/FS/NetworkMonitoringSystem/Torrus_Internal.pm
b/FS/FS/NetworkMonitoringSystem/Torrus_Internal.pm
index
1cc5d2a
..
f2194f8
100644
(file)
--- a/
FS/FS/NetworkMonitoringSystem/Torrus_Internal.pm
+++ b/
FS/FS/NetworkMonitoringSystem/Torrus_Internal.pm
@@
-137,7
+137,8
@@
sub add_router {
sub add_interface {
my($self, $router_ip, $interface, $serviceid ) = @_;
- $interface =~ s(\/)(_)g;
+ $interface =~ s(\/)(_)g; #slashes become underscores
+ $interface =~ s(\.)(_)g; #periods too, huh
#should just use a proper XML parser huh