bugfix: integers matter!

This commit is contained in:
pi-rho 2013-02-15 14:31:39 -06:00
parent eda1d70d4d
commit 4c6a76755c
1 changed files with 1 additions and 1 deletions

View File

@ -466,7 +466,7 @@ class ICMP_Resequence(object):
def handle(self, frame):
if not self.cli:
self.cli = frame.saddr
idx = 1 - (self.cli == frame.saddr)
idx = 1 - int(self.cli == frame.saddr)
return (idx, frame, gapstr.GapString(frame.payload))