mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-13 16:14:40 +00:00
netflow, minor type issue in previous
This commit is contained in:
parent
7e55ef5218
commit
a99d1ecf8e
@ -116,7 +116,7 @@ class FlowParser:
|
||||
while True:
|
||||
# header [version, len_words, reserved, fields]
|
||||
hdata = flowh.read(8)
|
||||
if hdata == '':
|
||||
if hdata == b'':
|
||||
break
|
||||
header = struct.unpack('BBHI', hdata)
|
||||
record = self._parse_binary(
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user