mirror of
https://git.savannah.gnu.org/git/grub.git
synced 2026-10-29 10:39:22 +00:00
small change in the interface structure.
This commit is contained in:
1 parent
066528b4b1
commit
8d402bc9a8
7 files changed
+48
-35
No files matched your search
+3
-2
@@ -8,10 +8,11 @@
|
||||
#include <grub/net/ieee1275/interface.h>
|
||||
#include <grub/ieee1275/ieee1275.h>
|
||||
#include <grub/time.h>
|
||||
#include <grub/net/interface.h>
|
||||
|
||||
/*send read request*/
|
||||
static grub_err_t
|
||||
send_tftp_rr (struct grub_net_interface *inf, struct grub_net_protocol *prot,struct grub_net_buff *nb)
|
||||
send_tftp_rr (struct grub_net_interface *inf, struct grub_net_protstack *protstack,struct grub_net_buff *nb)
|
||||
{
|
||||
/*Start TFTP header*/
|
||||
|
||||
@@ -58,7 +59,7 @@ send_tftp_rr (struct grub_net_interface *inf, struct grub_net_protocol *prot,str
|
||||
|
||||
grub_netbuff_unput (nb,nb->tail - (nb->data+hdrlen));
|
||||
|
||||
return prot->next->send(inf,prot->next,nb);
|
||||
return protstack->next->prot->send(inf,protstack->next,nb);
|
||||
}
|
||||
|
||||
/*
|
||||
|
||||
Reference in new issue
Block a user