Index: ossp-pkg/flow2rrd/ChangeLog RCS File: /v/ossp/cvs/ossp-pkg/flow2rrd/ChangeLog,v rcsdiff -q -kk '-r1.5' '-r1.6' -u '/v/ossp/cvs/ossp-pkg/flow2rrd/ChangeLog,v' 2>/dev/null --- ChangeLog 2004/12/26 18:53:19 1.5 +++ ChangeLog 2004/12/26 19:43:39 1.6 @@ -8,6 +8,11 @@ ChangeLog + Changes between 0.9.1 and 0.9.2 (26-Dec-2004 to 27-Dec-2004): + + *) Implement the wildcard port handling. + [Ralf S. Engelschall] + Changes between 0.9.0 and 0.9.1 (26-Dec-2004 to 26-Dec-2004): *) Adjust default configuration path. Index: ossp-pkg/flow2rrd/flow2rrd.pl RCS File: /v/ossp/cvs/ossp-pkg/flow2rrd/flow2rrd.pl,v rcsdiff -q -kk '-r1.9' '-r1.10' -u '/v/ossp/cvs/ossp-pkg/flow2rrd/flow2rrd.pl,v' 2>/dev/null --- 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; } }