OSSP CVS Repository

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

ossp-pkg/flow2rrd/flow2rrd.pl 1.9 -> 1.10

--- flow2rrd.pl  2004/12/26 18:52:45     1.9
+++ flow2rrd.pl  2004/12/26 19:43:39     1.10
@@ -383,8 +383,9 @@
                             my $proto = $cfg->{'Protocol'}->{$s->{-proto}};
                             my $port  = $s->{-port};
                             if ($Cflow::protocol == $proto) {
-                                if (   (    $inbound and $Cflow::dstport == $port)
-                                    or (not $inbound and $Cflow::srcport == $port)) {
+                                if (   $port eq '*'
+                                    or ((        $inbound and $port == $Cflow::dstport)
+                                         or (not $inbound and $port == $Cflow::srcport))) {
                                     $matched = 1;
                                 }
                             }

CVSTrac 2.0.1