diff --git a/checkers/tftp_rrq/tftp_rrq.go b/checkers/tftp_rrq/tftp_rrq.go index 6f54f5b..60cce7d 100644 --- a/checkers/tftp_rrq/tftp_rrq.go +++ b/checkers/tftp_rrq/tftp_rrq.go @@ -104,6 +104,8 @@ func (t *tftp_rrq) check(context.Context) error { return errors.Wrap(err, "error creating TFTP client") } + c.SetTimeout(t.timeout) + wt, err := c.Receive(path, "octet") if err != nil { return errors.Wrap(err, "error receiving file")