From e2a26f76de49b80c882b7f537d7eb5583ef78a29 Mon Sep 17 00:00:00 2001 From: Michael Brown Date: Fri, 6 Feb 2015 12:18:18 +0000 Subject: [uri] Allow tftp_uri() to construct a URI with a custom port Signed-off-by: Michael Brown --- src/usr/autoboot.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/usr') 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; } -- cgit v1.2.3-55-g7522