summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorivan <ivan>2011-04-14 18:23:01 +0000
committerivan <ivan>2011-04-14 18:23:01 +0000
commit5572125d0609b15d697ef6906845911abfdb65f7 (patch)
tree49847c33b5a371c13662b72758e0de7dc56062b0
parentf9e0909b36ecd985d95ee85551b7cd34a960bc7c (diff)
cope with empty virtual ports, RT#10574
-rw-r--r--FS/bin/freeside-torrus-srvderive1
1 files changed, 1 insertions, 0 deletions
diff --git a/FS/bin/freeside-torrus-srvderive b/FS/bin/freeside-torrus-srvderive
index b9ea95bfc..f6fc49906 100644
--- a/FS/bin/freeside-torrus-srvderive
+++ b/FS/bin/freeside-torrus-srvderive
@@ -69,6 +69,7 @@ MAIN: while (1) {
my $serviceid = $torrus_srvderive->serviceid;
my @serviceids = $torrus_srvderive->component_serviceids;
+ next unless @serviceids; #don't try to search for empty virtual ports
my @in = ();
for my $dir ('_IN', '_OUT') {