diff options
author | Michael Brown <mcb30@ipxe.org> | 2015-02-06 12:18:18 +0000 |
---|---|---|
committer | Michael Brown <mcb30@ipxe.org> | 2015-02-06 12:18:18 +0000 |
commit | e2a26f76de49b80c882b7f537d7eb5583ef78a29 (patch) | |
tree | a9ea9322ad43476caab9067efb2bbbe3d822797e /src/usr | |
parent | 2dfdcae938b3aaae2cb5d48bf2cf45c23ee4b312 (diff) | |
download | ipxe-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.c | 2 |
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; } |