]> git.ipfire.org Git - thirdparty/grub.git/commit
net: Read bracketed IPv6 addrs and port numbers
authorRobbie Harwood <rharwood@redhat.com>
Tue, 25 Apr 2023 15:05:13 +0000 (11:05 -0400)
committerDaniel Kiper <daniel.kiper@oracle.com>
Tue, 16 May 2023 15:26:28 +0000 (17:26 +0200)
commit26cfaa8a90f5a0294bedd53c9d856b8bca4af0e9
tree35154e50acc3843db9ea21ebeaa896549c6b279e
parent52061b2cf43aa32334fc4407004bbd2accc8d800
net: Read bracketed IPv6 addrs and port numbers

Allow specifying port numbers for http and tftp paths and allow IPv6
addresses to be recognized with brackets around them, which is required
to specify a port number.

Co-authored-by: Aaron Miller <aaronmiller@fb.com>
Signed-off-by: Aaron Miller <aaronmiller@fb.com>
Co-authored-by: Peter Jones <pjones@redhat.com>
Signed-off-by: Peter Jones <pjones@redhat.com>
Signed-off-by: Robbie Harwood <rharwood@redhat.com>
Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com>
docs/grub.texi
grub-core/net/http.c
grub-core/net/net.c
grub-core/net/tftp.c
include/grub/net.h