diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2017-04-12 15:27:40 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2017-04-12 15:27:40 +0200 |
commit | 4c7bb136ac8c1c1cd47942ad7fe8257b20997871 (patch) | |
tree | 27353008ece9a85fb7ef6b6106c338b432bda004 /bbot/tftp.cxx | |
parent | 50579107e3f628c2e3c644d5af01ef67404a0f2a (diff) |
Complete agent side of machine bootstrap
Diffstat (limited to 'bbot/tftp.cxx')
-rw-r--r-- | bbot/tftp.cxx | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/bbot/tftp.cxx b/bbot/tftp.cxx index 9c783c5..27d58a4 100644 --- a/bbot/tftp.cxx +++ b/bbot/tftp.cxx @@ -92,12 +92,13 @@ namespace bbot throw_system_error (errno); } else if (r == 0) // Timeout. + { + sec = 0; return false; + } if (FD_ISSET (fd, &rd)) { - text << "connection"; - // The inetd "protocol" is to pass the socket as stdin/stdout file // descriptors. // |