diff options
author | Mike Maslenkin <mike.maslenkin@gmail.com> | 2023-12-14 02:36:41 +0300 |
---|---|---|
committer | mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> | 2023-12-27 00:09:49 +0000 |
commit | d7d4f09ff815794761f84d06e307001afe6376c4 (patch) | |
tree | 07e5ae752f8d89f9aeb153b5c4b603c7746e6335 /EmbeddedPkg | |
parent | 91f1ce4e27649e8e6911a505539b137302f1b02d (diff) | |
download | edk2-d7d4f09ff815794761f84d06e307001afe6376c4.zip edk2-d7d4f09ff815794761f84d06e307001afe6376c4.tar.gz edk2-d7d4f09ff815794761f84d06e307001afe6376c4.tar.bz2 |
RedfishPkg: RedfishDiscoverDxe: add [] brackets to URI for IPv6 addresses
URI is generated based on the RedfishLocation containing an ASCII string
representing the IP address. So, in the case of IPv4 the canonical
representation of an IPv4 address was inserted into the resulting Unicode
string i.e: "http{,s}://X.X.X.X/".
In the case of IPv6, to access resources, the IP address must be specified
in brackets, i.e. the resulting string should look like:
"http{,s}://[X::X:X:X:X]/".
Cc: Nickle Wang <nicklew@nvidia.com>
Cc: Igor Kulchytskyy <igork@ami.com>
Signed-off-by: Mike Maslenkin <mike.maslenkin@gmail.com>
Reviewed-by: Abner Chang <abner.chang@amd.com>
Diffstat (limited to 'EmbeddedPkg')
0 files changed, 0 insertions, 0 deletions