summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAaron Miller <aaronmiller@fb.com>2016-10-27 17:39:49 -0400
committerColin Watson <cjwatson@debian.org>2021-09-27 20:09:39 +0100
commitc7e2338904e5e1e2546f1097cad1a020615463cf (patch)
tree5a57395e706e3c618a780c27fbe88829fb8c603e /include
parentbe244ee23f3b12266a5671486af814c57c616a6c (diff)
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 Last-Update: 2021-09-24 Patch-Name: net-read-bracketed-ipv6-addr.patch
Diffstat (limited to 'include')
-rw-r--r--include/grub/net.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/grub/net.h b/include/grub/net.h
index 7ae4b6bd8..69bfe0947 100644
--- a/include/grub/net.h
+++ b/include/grub/net.h
@@ -270,6 +270,7 @@ typedef struct grub_net
{
char *server;
char *name;
+ int port;
grub_net_app_level_t protocol;
grub_net_packets_t packs;
grub_off_t offset;