On Fri, Nov 17, 2023 at 01:49:25PM -0800, seanedm...@linux.microsoft.com wrote:
> From: Sean Edmond <seanedm...@microsoft.com>
> 
> The new config option BOOTP_RANDOM_XID will randomize the transaction ID
> for each new BOOT/DHCPv4 exchange.
> 
> Signed-off-by: Sean Edmond <seanedm...@microsoft.com>
> ---
>  cmd/Kconfig |  7 +++++++
>  net/bootp.c | 31 +++++++++++++++++--------------
>  2 files changed, 24 insertions(+), 14 deletions(-)
> 
> diff --git a/cmd/Kconfig b/cmd/Kconfig
> index 93bf752035c..244237e6d60 100644
> --- a/cmd/Kconfig
> +++ b/cmd/Kconfig
> @@ -1853,6 +1853,13 @@ config BOOTP_VCI_STRING
>       default "U-Boot.arm" if ARM
>       default "U-Boot"
>  
> +config BOOTP_RANDOM_XID
> +     bool "Send random transaction ID to BOOTP/DHCP server"
> +     depends on CMD_BOOTP && (LIB_RAND || EXYNOS_ACE_SHA || RNG_NPCM)

This should be (LIB_RAND || LIB_HW_RAND)

-- 
Tom

Attachment: signature.asc
Description: PGP signature

Reply via email to