Kaynağa Gözat

lwip: Add macro to disable vendor class option

yuanjm 4 yıl önce
ebeveyn
işleme
3cfcf2b4fd

+ 5 - 0
components/lwip/port/esp32/include/lwipopts.h

@@ -263,6 +263,11 @@
 
 
 #endif
 #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 ----------
    ---------- AUTOIP options ----------