diff --git a/tstat_transport/format.py b/tstat_transport/format.py index c12cbe5..579a0fe 100644 --- a/tstat_transport/format.py +++ b/tstat_transport/format.py @@ -305,12 +305,12 @@ def packets_per_second(self): @property def start(self): """Get start.""" - return int(self._static_key('first') / 1000) + return int(self._static_key('first')) @property def end(self): """Get end.""" - return int(self._static_key('last') / 1000) + return int(self._static_key('last')) @property def tcp_mss(self): @@ -362,12 +362,12 @@ def packets_per_second(self): @property def start(self): """Get start.""" - return int(self._directional_key('first_abs') / 1000) + return int(self._directional_key('first_abs')) @property def end(self): """Get end.""" - return int(self.start + self.duration) + return int(self._directional_key('first_abs')) + int(self._directional_key('durat')) def capsule_factory(row, protocol, config):