Ver Fonte

lwip: Add macro to disable vendor class option

yuanjm há 4 anos atrás
pai
commit
7ca2fa5fd2
1 ficheiros alterados com 5 adições e 0 exclusões
  1. 5 0
      components/lwip/port/esp32/include/lwipopts.h

+ 5 - 0
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 ----------