From 7ca2fa5fd2bb02b39dc7d4c7d7bb505d5a8c6af2 Mon Sep 17 00:00:00 2001 From: yuanjm Date: Tue, 23 Nov 2021 19:34:21 +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 8a1540b8fb..bdfe1f804b 100644 --- a/components/lwip/port/esp32/include/lwipopts.h +++ b/components/lwip/port/esp32/include/lwipopts.h @@ -253,6 +253,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 ----------