mirror of
https://git.savannah.gnu.org/git/grub.git
synced 2026-10-22 15:22:39 +00:00
Revert "net/http: Allow use of non-standard TCP/IP ports"
The notation introduced inac8a37dda(net/http: Allow use of non-standard TCP/IP ports) contradicts that used in downstream distributions including Fedora, RHEL, Debian, Ubuntu, and others. Revert it and apply the downstream notation which was originally proposed to the GRUB in 2016. This reverts commitac8a37dda(net/http: Allow use of non-standard TCP/IP ports). Signed-off-by: Robbie Harwood <rharwood@redhat.com> Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com>
This commit is contained in:
1 parent
830456a6e3
commit
52061b2cf4
2 files changed
+2
-71
No files matched your search
@@ -3057,39 +3057,6 @@ environment variable @samp{net_default_server} is used.
|
||||
Before using the network drive, you must initialize the network.
|
||||
@xref{Network}, for more information.
|
||||
|
||||
For the @samp{http} network protocol, @code{@var{server}} may specify a
|
||||
port number other than the default value of @samp{80}. The server name
|
||||
and port number are separated by either @samp{,} or @samp{:}.
|
||||
For IPv6 addresses, the server name and port number may only be separated
|
||||
by @samp{,}.
|
||||
|
||||
@itemize @bullet
|
||||
@item
|
||||
@code{(http,@var{server},@var{port})}
|
||||
|
||||
@item
|
||||
@code{(http,@var{server}:@var{port})}
|
||||
@end itemize
|
||||
|
||||
These examples all reference an @samp{http} server at address
|
||||
@samp{192.0.2.1} listening on the non-standard port of @samp{3000}.
|
||||
In these examples, the DNS name @samp{grub.example.com} is resolved
|
||||
to @samp{192.0.2.1}.
|
||||
|
||||
@example
|
||||
(http,grub.example.com,3000)
|
||||
(http,grub.example.com:3000)
|
||||
(http,192.0.2.1,3000)
|
||||
(http,192.0.2.1:3000)
|
||||
@end example
|
||||
|
||||
Referencing an @samp{http} server over IPv6 on the non-standard
|
||||
port of @samp{3000} would look like this:
|
||||
|
||||
@example
|
||||
(http,2001:db8::1,3000)
|
||||
@end example
|
||||
|
||||
If you boot GRUB from a CD-ROM, @samp{(cd)} is available. @xref{Making
|
||||
a GRUB bootable CD-ROM}, for details.
|
||||
|
||||
|
||||
Reference in new issue
Block a user