mirror of
https://github.com/espressif/esp-idf.git
synced 2026-06-11 11:42:39 +02:00
esp_netif: rename DHCP flags for client and server
This commit is contained in:
@@ -26,7 +26,7 @@
|
||||
#define DHCP_NAMESPACE "dhcp_state"
|
||||
|
||||
// DHCP_Client has to be enabled for this netif
|
||||
#define VALID_NETIF_ID(netif) (ESP_NETIF_DHCPC&esp_netif_get_flags(netif))
|
||||
#define VALID_NETIF_ID(netif) (ESP_NETIF_DHCP_CLIENT&esp_netif_get_flags(netif))
|
||||
|
||||
bool dhcp_ip_addr_restore(void *netif)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user