Add envirnonment variable for debug timestamps to roughly match

network timestamps (in tshark)
This commit is contained in:
Matt Johnston
2015-02-13 23:47:53 +08:00
parent 136188259e
commit 2c35f1c8fd
3 changed files with 22 additions and 4 deletions

View File

@@ -53,6 +53,10 @@ int exitflag = 0; /* GLOBAL */
void common_session_init(int sock_in, int sock_out) {
time_t now;
#ifdef DEBUG_TRACE
debug_start_net();
#endif
TRACE(("enter session_init"))
ses.sock_in = sock_in;