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;
}
}
|
|