diff common-session.c @ 1021:24135c8e1d46

Add envirnonment variable for debug timestamps to roughly match network timestamps (in tshark)
author Matt Johnston <matt@ucc.asn.au>
date Fri, 13 Feb 2015 23:47:53 +0800
parents 363c0feca5d4
children 02baa0b334e8 d3925ed45a85
line wrap: on
line diff
--- a/common-session.c	Fri Feb 13 23:17:23 2015 +0800
+++ b/common-session.c	Fri Feb 13 23:47:53 2015 +0800
@@ -53,6 +53,10 @@
 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;