aboutsummaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
Diffstat (limited to 'tools')
-rwxr-xr-xtools/pkt_gen/xena/xena.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/pkt_gen/xena/xena.py b/tools/pkt_gen/xena/xena.py
index 31347c5f..b72a59dd 100755
--- a/tools/pkt_gen/xena/xena.py
+++ b/tools/pkt_gen/xena/xena.py
@@ -448,7 +448,7 @@ class Xena(ITrafficGenerator):
self._params['traffic']['l2']['framesize'])
stream.set_packet_payload('incrementing', '0x00')
stream.set_payload_id(payload_id)
- port.set_port_time_limit(self._duration)
+ port.set_port_time_limit(self._duration * 1000000)
if self._params['traffic']['l2']['framesize'] == 64:
# set micro tpld