Diff between f95696986b1f1f711b16f022959f7ba03bbadf04 and d9a75ab909ff90308bbd487096bd465216a29007

Changed Files

File Additions Deletions Status
monitor/packet.c +6 -0 modified

Full Patch

diff --git a/monitor/packet.c b/monitor/packet.c
index d84b531..9145f21 100644
--- a/monitor/packet.c
+++ b/monitor/packet.c
@@ -155,6 +155,12 @@ static void print_packet(struct timeval *tv, uint16_t index, char ident,
 	}
 
 	if (use_color()) {
+		n = sprintf(ts_str + ts_pos, "%s", COLOR_OFF);
+		if (n > 0)
+			ts_pos += n;
+	}
+
+	if (use_color()) {
 		n = sprintf(line + pos, "%s", color);
 		if (n > 0)
 			pos += n;