Skip to Content.
Sympa Menu

ndt-dev - [ndt-dev] [ndt] r1007 committed - Fixed problem with multiple dumptrace declarations

Subject: NDT-DEV email list created

List archive

[ndt-dev] [ndt] r1007 committed - Fixed problem with multiple dumptrace declarations


Chronological Thread 
  • From:
  • To:
  • Subject: [ndt-dev] [ndt] r1007 committed - Fixed problem with multiple dumptrace declarations
  • Date: Tue, 11 Mar 2014 13:09:27 +0000

Revision: 1007
Author:

Date: Tue Mar 11 13:09:05 2014 UTC
Log: Fixed problem with multiple dumptrace declarations

http://code.google.com/p/ndt/source/detail?r=1007

Modified:
/branches/Issue93/src/web100-pcap.c
/branches/Issue93/src/web100srv.c
/branches/Issue93/src/web100srv.h

=======================================
--- /branches/Issue93/src/web100-pcap.c Mon Oct 14 13:20:21 2013 UTC
+++ /branches/Issue93/src/web100-pcap.c Tue Mar 11 13:09:05 2014 UTC
@@ -27,7 +27,6 @@
u_int16_t speed[32];
} iflist;

-static int dumptrace;
static pcap_t *pd;
static pcap_dumper_t *pdump;
static int* mon_pipe;
=======================================
--- /branches/Issue93/src/web100srv.c Fri Feb 21 16:32:03 2014 UTC
+++ /branches/Issue93/src/web100srv.c Tue Mar 11 13:09:05 2014 UTC
@@ -101,7 +101,7 @@
// list of global variables used throughout this program.
static int window = 64000; // TCP buffer size
static int count_vars = 0;
-static int dumptrace = 0;
+int dumptrace = 0;
static int usesyslog = 0;
static int multiple = 0;
static int compress = 1;
=======================================
--- /branches/Issue93/src/web100srv.h Mon Oct 14 13:20:21 2013 UTC
+++ /branches/Issue93/src/web100srv.h Tue Mar 11 13:09:05 2014 UTC
@@ -332,4 +332,7 @@
sig_atomic_t sig17;
pid_t sig17_pid[256];

+/* global variables shared with other source files */
+extern int dumptrace;
+
#endif // SRC_WEB100SRV_H_


  • [ndt-dev] [ndt] r1007 committed - Fixed problem with multiple dumptrace declarations, ndt, 03/11/2014

Archive powered by MHonArc 2.6.16.

Top of Page