pxe/tftp: Fix broken assignment for pxe_ip on EFI
diff --git a/common/pxe/tftp.s2.c b/common/pxe/tftp.s2.c
index 76b80924..159da53f 100644
--- a/common/pxe/tftp.s2.c
+++ b/common/pxe/tftp.s2.c
@@ -195,7 +195,7 @@ struct file_handle *tftp_open(struct volume *part, const char *server_addr, cons
handle->is_memfile = true;
handle->pxe = true;
- handle->pxe_ip = *(uint32_t *)&ip;
+ handle->pxe_ip = *(uint32_t *)ip->Addr;
handle->pxe_port = 69;
size_t name_len = strlen(name);
