mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-02 04:04:31 +02:00
Merge branch 'bugfix/lwip_config_dhcp_client_id_v4.1' into 'release/v4.1'
lw-ip: Add config for DHCP client id; Fix DNS server idx assert issue (v4.1) See merge request espressif/esp-idf!16175
This commit is contained in:
@@ -211,6 +211,15 @@ menu "LWIP"
|
|||||||
Enabling this option performs a check (via ARP request) if the offered IP address
|
Enabling this option performs a check (via ARP request) if the offered IP address
|
||||||
is not already in use by another host on the network.
|
is not already in use by another host on the network.
|
||||||
|
|
||||||
|
config LWIP_DHCP_DISABLE_CLIENT_ID
|
||||||
|
bool "DHCP: Disable Use of HW address as client identification"
|
||||||
|
default n
|
||||||
|
help
|
||||||
|
This option could be used to disable DHCP client identification with its MAC address.
|
||||||
|
(Client id is used by DHCP servers to uniquely identify clients and are included
|
||||||
|
in the DHCP packets as an option 61)
|
||||||
|
Set this option to "y" in order to exclude option 61 from DHCP packets.
|
||||||
|
|
||||||
config LWIP_DHCP_RESTORE_LAST_IP
|
config LWIP_DHCP_RESTORE_LAST_IP
|
||||||
bool "DHCP: Restore last IP obtained from DHCP server"
|
bool "DHCP: Restore last IP obtained from DHCP server"
|
||||||
default n
|
default n
|
||||||
|
Submodule components/lwip/lwip updated: 2c9c531f0a...2195f7416f
@@ -236,6 +236,10 @@
|
|||||||
*/
|
*/
|
||||||
#define DHCP_DOES_ARP_CHECK CONFIG_LWIP_DHCP_DOES_ARP_CHECK
|
#define DHCP_DOES_ARP_CHECK CONFIG_LWIP_DHCP_DOES_ARP_CHECK
|
||||||
|
|
||||||
|
/**
|
||||||
|
* LWIP_DHCP_DISABLE_CLIENT_ID==1: Do not add option 61 (client-id) to DHCP packets
|
||||||
|
*/
|
||||||
|
#define ESP_DHCP_DISABLE_CLIENT_ID CONFIG_LWIP_DHCP_DISABLE_CLIENT_ID
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* CONFIG_LWIP_DHCP_RESTORE_LAST_IP==1: Last valid IP address obtained from DHCP server
|
* CONFIG_LWIP_DHCP_RESTORE_LAST_IP==1: Last valid IP address obtained from DHCP server
|
||||||
|
Reference in New Issue
Block a user