diff options
Diffstat (limited to 'test/ipfix.py')
-rw-r--r-- | test/ipfix.py | 2 |
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']] |