Permalink
Browse files

Corrected spelling error in usage and default directory for outdir.

  • Loading branch information...
1 parent 09588f5 commit a4f0aba86af2a3e51aea9f602a09b1313d680fc9 @simsong committed Apr 4, 2012
Showing with 11 additions and 3 deletions.
  1. +6 −0 ChangeLog
  2. +2 −1 src/main.cpp
  3. +2 −1 src/tcpdemux.h
  4. +1 −1 src/tcpip.cpp
View
@@ -1,3 +1,9 @@
+2012-04-03 Simson Garfinkel <simsong@imac3.home>
+
+ * src/main.cpp (print_usage): fixed misspelling of name
+
+ * src/tcpip.cpp (tcpdemux::tcpdemux): default outdir is now "."
+
2012-03-26 Simson Garfinkel <simsong@imac3.home>
* src/xml.cpp (xml::add_cpuid): better handling of CPUID instruction. Now it really should not show up on non-Intel architectures.
View
@@ -68,7 +68,7 @@ void print_usage()
std::cerr << " -FT : prepend the ISO8601 timestamp to ALL filenames\n";
std::cerr << " -FX : Do not output any files (other than report files)\n";
std::cerr << " -FM : Calculate the MD5 for every flow\n";
- std::cerr << " -T<template> : sepcify an arbitrary filename template (default " << flow::filename_template << ")\n";
+ std::cerr << " -T<template> : specify an arbitrary filename template (default " << flow::filename_template << ")\n";
#if ENABLE_GZIP
std::cerr << " -Z: do not decompress gzip-compressed HTTP transactions\n";
#endif
@@ -141,6 +141,7 @@ int main(int argc, char *argv[])
pcap_handler handler;
progname = argv[0];
+
init_debug(argv);
opterr = 0;
bool force_binary_output = false;
View
@@ -267,7 +267,8 @@ class tcpdemux {
return "copying tcpdemux objects is not implemented.";
}
};
- tcpdemux(const tcpdemux &t):outdir(),flow_counter(),packet_time(),xreport(),max_fds(),flow_map(),openflows(),opt_output_enabled(),
+ tcpdemux(const tcpdemux &t):outdir(),flow_counter(),packet_time(),xreport(),
+ max_fds(),flow_map(),openflows(),opt_output_enabled(),
opt_md5(),opt_after_header(),opt_gzip_decompress(),
max_bytes_per_flow(),max_desired_fds(){
throw new not_impl();
View
@@ -588,7 +588,7 @@ unsigned int tcpdemux::get_max_fds(void)
}
-tcpdemux::tcpdemux():outdir(),flow_counter(0),packet_time(0),
+tcpdemux::tcpdemux():outdir("."),flow_counter(0),packet_time(0),
xreport(0),max_fds(10),flow_map(),
openflows(),
opt_output_enabled(true),opt_md5(false),

0 comments on commit a4f0aba

Please sign in to comment.