fix incorrectly assigned state transition
parent
360b0b928d
commit
1a2b556771
|
@ -743,7 +743,7 @@ class TftpStateSentWRQ(TftpState):
|
||||||
if pkt.blocknumber == 0:
|
if pkt.blocknumber == 0:
|
||||||
log.debug("Ack blocknumber is zero as expected")
|
log.debug("Ack blocknumber is zero as expected")
|
||||||
log.debug("Sending first DAT packet")
|
log.debug("Sending first DAT packet")
|
||||||
self.pending_complete = self.context.sendDAT()
|
self.context.pending_complete = self.sendDAT()
|
||||||
log.debug("Changing state to TftpStateExpectACK")
|
log.debug("Changing state to TftpStateExpectACK")
|
||||||
return TftpStateExpectACK(self.context)
|
return TftpStateExpectACK(self.context)
|
||||||
else:
|
else:
|
||||||
|
|
Reference in New Issue