fix incorrectly assigned state transition

master
Patrick Oppenlander 2010-05-12 09:28:42 +10:00 committed by Michael P. Soulier
parent 360b0b928d
commit 1a2b556771
1 changed files with 1 additions and 1 deletions

View File

@ -743,7 +743,7 @@ class TftpStateSentWRQ(TftpState):
if pkt.blocknumber == 0:
log.debug("Ack blocknumber is zero as expected")
log.debug("Sending first DAT packet")
self.pending_complete = self.context.sendDAT()
self.context.pending_complete = self.sendDAT()
log.debug("Changing state to TftpStateExpectACK")
return TftpStateExpectACK(self.context)
else: