Signed-off-by: Michael Chang <mch...@suse.com> --- grub-core/net/bootp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/grub-core/net/bootp.c b/grub-core/net/bootp.c index 8bf0ca782..0bfa3d185 100644 --- a/grub-core/net/bootp.c +++ b/grub-core/net/bootp.c @@ -379,7 +379,7 @@ grub_net_configure_by_dhcp_ack (const char *name, boot_file = (const char *) opt; boot_file_len = opt_len; } - else if (size > OFFSET_OF (boot_file, bp) && !(overload && GRUB_DHCP_OPT_OVERLOAD_FILE) && + else if (size > OFFSET_OF (boot_file, bp) && !(overload & GRUB_DHCP_OPT_OVERLOAD_FILE) && bp->boot_file[0]) { boot_file = bp->boot_file; -- 2.47.1 _______________________________________________ Grub-devel mailing list Grub-devel@gnu.org https://lists.gnu.org/mailman/listinfo/grub-devel