aboutsummaryrefslogtreecommitdiff
path: root/src/usr
diff options
context:
space:
mode:
authorMichael Brown <mcb30@ipxe.org>2015-02-06 12:18:18 +0000
committerMichael Brown <mcb30@ipxe.org>2015-02-06 12:18:18 +0000
commite2a26f76de49b80c882b7f537d7eb5583ef78a29 (patch)
treea9ea9322ad43476caab9067efb2bbbe3d822797e /src/usr
parent2dfdcae938b3aaae2cb5d48bf2cf45c23ee4b312 (diff)
downloadipxe-e2a26f76de49b80c882b7f537d7eb5583ef78a29.zip
ipxe-e2a26f76de49b80c882b7f537d7eb5583ef78a29.tar.gz
ipxe-e2a26f76de49b80c882b7f537d7eb5583ef78a29.tar.bz2
[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 47476ae..4aba593 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;
}