]> git.ipfire.org Git - thirdparty/grub.git/commit
net/dhcp: Allow overloading legacy bootfile and name field
authorAndrei Borzenkov <arvidjaar@gmail.com>
Thu, 7 Mar 2019 15:14:09 +0000 (15:14 +0000)
committerDaniel Kiper <daniel.kiper@oracle.com>
Tue, 12 Mar 2019 19:04:07 +0000 (20:04 +0100)
commitbd21d6465e4d243a442ebcde9fac2ceca13524c2
tree81450a7b40da54088620a6b97297da274a96159f
parent4c44bbd83571fbda440f9aabc9917375d56889ba
net/dhcp: Allow overloading legacy bootfile and name field

DHCP specifies a special dummy option OVERLOAD, to allow DHCP options to
spill over into the (legacy) BOOTFILE and SNAME fields.

Parse and handle this option properly.

Signed-off-by: Andre Przywara <andre.przywara@arm.com>
Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com>
grub-core/net/bootp.c
include/grub/net.h