summaryrefslogtreecommitdiffstats
path: root/src/usr
diff options
context:
space:
mode:
authorMichael Brown2015-02-06 13:18:18 +0100
committerMichael Brown2015-02-06 13:18:18 +0100
commite2a26f76de49b80c882b7f537d7eb5583ef78a29 (patch)
treea9ea9322ad43476caab9067efb2bbbe3d822797e /src/usr
parent[tftp] Explicitly abort connection whenever parent interface is closed (diff)
downloadipxe-e2a26f76de49b80c882b7f537d7eb5583ef78a29.tar.gz
ipxe-e2a26f76de49b80c882b7f537d7eb5583ef78a29.tar.xz
ipxe-e2a26f76de49b80c882b7f537d7eb5583ef78a29.zip
[uri] Allow tftp_uri() to construct a URI with a custom port
Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/usr')
-rw-r--r--src/usr/autoboot.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/usr/autoboot.c b/src/usr/autoboot.c
index 47476ae4..4aba593e 100644
--- a/src/usr/autoboot.c
+++ b/src/usr/autoboot.c
@@ -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;
}