summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Oppenlander <patrick@motec.com.au>2010-05-12 09:28:42 +1000
committerMichael P. Soulier <msoulier@digitaltorque.ca>2010-05-17 19:10:49 -0400
commit1a2b55677135e64c2a623b46b6861f2e5c726f2f (patch)
treeecd8c0d93cb3023313a7eb81160666e4b54840eb
parent360b0b928d6f8b913fdcdbfa30a8210d996c6c71 (diff)
downloadtftpy-1a2b55677135e64c2a623b46b6861f2e5c726f2f.tar.gz
fix incorrectly assigned state transition
-rw-r--r--tftpy/TftpStates.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tftpy/TftpStates.py b/tftpy/TftpStates.py
index 8dacff0..ac464b9 100644
--- a/tftpy/TftpStates.py
+++ b/tftpy/TftpStates.py
@@ -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: