mirror of https://github.com/dirtbags/netarch.git
bugfix: integers matter!
This commit is contained in:
parent
eda1d70d4d
commit
4c6a76755c
|
@ -466,7 +466,7 @@ class ICMP_Resequence(object):
|
||||||
def handle(self, frame):
|
def handle(self, frame):
|
||||||
if not self.cli:
|
if not self.cli:
|
||||||
self.cli = frame.saddr
|
self.cli = frame.saddr
|
||||||
idx = 1 - (self.cli == frame.saddr)
|
idx = 1 - int(self.cli == frame.saddr)
|
||||||
return (idx, frame, gapstr.GapString(frame.payload))
|
return (idx, frame, gapstr.GapString(frame.payload))
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue