mirror of
https://github.com/ipxe/ipxe
synced 2025-12-14 07:50:43 +03:00
[uri] Allow tftp_uri() to construct a URI with a custom port
Signed-off-by: Michael Brown <mcb30@ipxe.org>
This commit is contained in:
@@ -101,7 +101,7 @@ static struct uri * parse_next_server_and_filename ( struct in_addr next_server,
|
||||
/* Construct a TFTP URI for the filename, if applicable */
|
||||
if ( next_server.s_addr && filename[0] && ! uri_is_absolute ( uri ) ) {
|
||||
uri_put ( uri );
|
||||
uri = tftp_uri ( next_server, filename );
|
||||
uri = tftp_uri ( next_server, 0, filename );
|
||||
if ( ! uri )
|
||||
return NULL;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user