diff options
| author | Gary Lin <glin@suse.com> | 2017-10-27 11:36:40 +0800 |
|---|---|---|
| committer | Peter Jones <pjones@redhat.com> | 2018-02-28 14:47:12 -0500 |
| commit | a752290c38b1c031859fcfbee77258cab3bc0ac1 (patch) | |
| tree | 786334a9ef1f1bcd881ba5c5d2d442c13d760c68 /lib/variables.c | |
| parent | c8ca1c569664913e580340105bceb75b5aecad57 (diff) | |
| download | efi-boot-shim-a752290c38b1c031859fcfbee77258cab3bc0ac1.tar.gz efi-boot-shim-a752290c38b1c031859fcfbee77258cab3bc0ac1.zip | |
httpboot: Amend the device path matching rule
Originally, we check if the last 2 nodes in the device path are
IPv4()/Uri() or IPv6()/Uri() to determine whether httpboot is used or
not. However, since UEFI 2.7, the DNS node will be inserted between the
IP node and the URI node if the server provides the DNS server address.
This commit changes the matching rule to search IP node and URI node
and ignore any node between those two nodes.
Signed-off-by: Gary Lin <glin@suse.com>
Diffstat (limited to 'lib/variables.c')
0 files changed, 0 insertions, 0 deletions
