From a8fd3ef48e030de9752c9cc87ef7a5fe48c53321 Mon Sep 17 00:00:00 2001 From: yuanjm Date: Tue, 23 Nov 2021 19:42:47 +0800 Subject: [PATCH] lwip: Add macro to disable vendor class option --- components/lwip/port/esp32/include/lwipopts.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/components/lwip/port/esp32/include/lwipopts.h b/components/lwip/port/esp32/include/lwipopts.h index dcd0c18d3e..072abb64d7 100644 --- a/components/lwip/port/esp32/include/lwipopts.h +++ b/components/lwip/port/esp32/include/lwipopts.h @@ -266,6 +266,11 @@ #endif +/** + * LWIP_DHCP_DISABLE_VENDOR_CLASS_ID==1: Do not add option 60 (Vendor Class Identifier) to DHCP packets + */ +#define ESP_DHCP_DISABLE_VENDOR_CLASS_IDENTIFIER 1 + /* ------------------------------------ ---------- AUTOIP options ----------