OSSP CVS Repository

ossp - Difference in ossp-pkg/flow2rrd/flow2rrd.pl versions 1.11 and 1.12
Not logged in
[Honeypot]  [Browse]  [Home]  [Login]  [Reports
[Search]  [Ticket]  [Timeline
  [History

ossp-pkg/flow2rrd/flow2rrd.pl 1.11 -> 1.12

--- flow2rrd.pl  2004/12/26 20:03:35     1.11
+++ flow2rrd.pl  2004/12/27 13:06:19     1.12
@@ -370,7 +370,7 @@
         #   the flow matches them...
         my $matched_total = 0;
         LOOP: foreach my $host (@{$cfg->{'Host'}}) {
-            foreach my $target (grep { $_ !~ m/^-/ } keys(%{$host->{-target}})) {
+            foreach my $target (@{$host->{-target}->{-order}}) {
                 my $matched = 0;
                 my $inbound; $inbound = undef;
                 my $np = $ctx->{-network}->{$host->{-name}.":".$target};

CVSTrac 2.0.1