PERFORCE change 144403 for review
Victor Hugo Bilouro
bilouro at FreeBSD.org
Tue Jul 1 01:07:59 UTC 2008
http://perforce.freebsd.org/chv.cgi?CH=144403
Change 144403 by bilouro at bilouro_tcptest on 2008/07/01 01:07:02
Some small fixes
Affected files ...
.. //depot/projects/soc2008/bilouro_tcptest/src/scripts/tests/cthreewayhandshake_nooptions.py#4 edit
Differences ...
==== //depot/projects/soc2008/bilouro_tcptest/src/scripts/tests/cthreewayhandshake_nooptions.py#4 (text+ko) ====
@@ -126,7 +126,8 @@
self.tcb.tcpsequence[ self.tcb.thatside ] = tcpsynack.sequence
assertSequenceAcknowledgmentOK(self, self.tcb, tcpsynack, \
self.tcb.thisside, self.tcb.thatside)
-
+
+ assertSynPresent(self, tcpsynack)
#OK Its a SYN+ACK --> SYN consumes a sequence
self.tcb.tcpsequence[ self.tcb.thatside ] = tcpsynack.sequence + 1
@@ -271,7 +272,7 @@
def assertFin(self, tcp):
"""is fin flag on?
"""
- self.failIf(tcp.fin<0)
+ self.failIf(tcp.fin<1)
def createsyn(self, tcb, from_, to):
@@ -363,7 +364,7 @@
tcb.tcpport[ to ]==tcp.sport):
break
except:
- print "eeee"
+ print "packet ignored"
pass
return (ip, tcp)
More information about the p4-projects
mailing list