aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorOle Troan <ot@cisco.com>2019-10-17 01:31:12 +0200
committerOle Trøan <otroan@employees.org>2019-10-17 17:20:41 +0000
commitb8d5e4058ea0ca88179e3f09d7e1f9bd4bb3bb91 (patch)
treeda2442f53ec276eb28c9dcf29464a08ec8cf9486 /test
parent45ec5708ff90d034d4eb7f3d6595b8009b45e093 (diff)
nat: tests support python3
Type: fix Signed-off-by: Ole Troan <ot@cisco.com> Change-Id: Ie15ea8f01846f87cb65e90e8762dc941441fc176
Diffstat (limited to 'test')
-rw-r--r--test/ipfix.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/ipfix.py b/test/ipfix.py
index dd43560d9a6..374a8522168 100644
--- a/test/ipfix.py
+++ b/test/ipfix.py
@@ -535,7 +535,7 @@ class IPFIXDecoder(object):
if template['id'] == data_set.setID:
offset = 0
d = data_set[Data].data
- for i in range(len(d) / template['rec_len']):
+ for i in range(len(d) // template['rec_len']):
record = {}
for field in template['fields']:
f = d[offset:offset + field['len']]