Przeglądaj źródła

lwip: Add macro to disable vendor class option

yuanjm 4 lat temu
rodzic
commit
3cfcf2b4fd
1 zmienionych plików z 5 dodań i 0 usunięć
  1. 5 0
      components/lwip/port/esp32/include/lwipopts.h

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

@@ -263,6 +263,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 ----------