Implement close in TFTP
This commit is contained in:
parent
0696f08f92
commit
31b5172bbd
1 changed files with 2 additions and 1 deletions
|
@ -157,7 +157,8 @@ tftp_receive (grub_net_socket_t sock, struct grub_net_buff *nb)
|
|||
static grub_err_t
|
||||
tftp_close (struct grub_file *file __attribute__ ((unused)))
|
||||
{
|
||||
return 0;
|
||||
grub_free (file->device->net->socket->data);
|
||||
return GRUB_ERR_NONE;
|
||||
}
|
||||
|
||||
static struct grub_net_app_protocol grub_tftp_protocol =
|
||||
|
|
Loading…
Reference in a new issue