diff options
author | Andrei Borzenkov <arvidjaar@gmail.com> | 2019-03-07 15:14:09 +0000 |
---|---|---|
committer | Daniel Kiper <daniel.kiper@oracle.com> | 2019-03-12 20:04:07 +0100 |
commit | bd21d6465e4d243a442ebcde9fac2ceca13524c2 (patch) | |
tree | 81450a7b40da54088620a6b97297da274a96159f /include | |
parent | 4c44bbd83571fbda440f9aabc9917375d56889ba (diff) |
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>
Diffstat (limited to 'include')
-rw-r--r-- | include/grub/net.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/grub/net.h b/include/grub/net.h index 1096b2432..0c7286bd2 100644 --- a/include/grub/net.h +++ b/include/grub/net.h @@ -457,6 +457,7 @@ enum GRUB_NET_BOOTP_DOMAIN = 0x0f, GRUB_NET_BOOTP_ROOT_PATH = 0x11, GRUB_NET_BOOTP_EXTENSIONS_PATH = 0x12, + GRUB_NET_DHCP_OVERLOAD = 52, GRUB_NET_BOOTP_END = 0xff }; |