OSSP CVS Repository

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

ossp-pkg/flow2rrd/flow2rrd.pl 1.4 -> 1.5

--- flow2rrd.pl  2004/12/23 21:37:19     1.4
+++ flow2rrd.pl  2004/12/26 12:32:38     1.5
@@ -1,6 +1,6 @@
 #!/usr/opkg/bin/perl
 ##
-##  OSSP flow2rrd -- Store NetFlow Data in Round-Robin Database (RRD)
+##  OSSP flow2rrd -- NetFlow to Round-Robin Database (RRD)
 ##  Copyright (c) 2004 Ralf S. Engelschall <rse@engelschall.com>
 ##  Copyright (c) 2004 The OSSP Project <http://www.ossp.org/>
 ##
@@ -60,7 +60,6 @@
 my $opt = {
     -help     => 0,
     -version  => 0,
-    -verbose  => 0,
     -config   => 'flow2rrd.cfg',
     -store    => 0,
     -graph    => 0,
@@ -71,8 +70,7 @@
 Getopt::Long::Configure("bundling");
 my %getopt_spec = (
     'h|help'     => \$opt->{-help},
-    'V|version'  => \$opt->{-version},
-    'v|verbose'  => \$opt->{-verbose},
+    'v|version'  => \$opt->{-version},
     'c|config=s' => \$opt->{-config},
     's|store'    => \$opt->{-store},
     'g|graph'    => \$opt->{-graph},
@@ -84,8 +82,7 @@
     print "usage: $my->{-progname} [<options>] <hostname>\n" .
           "available options are:\n" .
           "  -h,--help              print out this usage page\n" .
-          "  -v,--verbose           enable verbose run-time mode\n" .
-          "  -V,--version           print program version\n" .
+          "  -v,--version           print program version\n" .
           "  -c,--config FILE       read this configuration file only\n" .
           "  -s,--store             store NetFlow values into RRD\n" .
           "  -g,--graph             produce RRD graphs\n" .
@@ -233,7 +230,7 @@
     my $ctx = &data_init($cfg);
 
     #   scan flow-tools stream on STDIN for NetFlow records
-    Cflow::verbose(1);
+    Cflow::verbose(0);
     Cflow::find(sub { &foreach_record($cfg, $ctx) }, "-");
     sub foreach_record {
         my ($cfg, $ctx) = @_;

CVSTrac 2.0.1