diff --git a/secop/protocol/interface/tcp.py b/secop/protocol/interface/tcp.py index 58ccc33..900014f 100644 --- a/secop/protocol/interface/tcp.py +++ b/secop/protocol/interface/tcp.py @@ -25,6 +25,7 @@ import sys import socket import socketserver import threading +import time from secop.datatypes import StringType, BoolType from secop.errors import SECoPError @@ -133,6 +134,7 @@ class TCPRequestHandler(socketserver.BaseRequestHandler): if result[0].startswith(ERRORPREFIX) and not detailed_errors: # strip extra information result[2][2].clear() + result[2][2]['t'] = time.time() self.send_reply(result) def send_reply(self, data):