From 3b3c3210a670d40325bb3af7f900989599777e71 Mon Sep 17 00:00:00 2001 From: Liu Zhi Fu Date: Wed, 1 Mar 2017 13:37:36 +0800 Subject: [PATCH] lwip: fix bool options default value wrong issue menuconfig options with bool type should use 'y/n' to use the default value, instead of '1/0' --- components/lwip/Kconfig | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/components/lwip/Kconfig b/components/lwip/Kconfig index 0070ef4668..f99b6fe8a6 100644 --- a/components/lwip/Kconfig +++ b/components/lwip/Kconfig @@ -2,7 +2,7 @@ menu "LWIP" config L2_TO_L3_COPY bool "Enable copy between Layer2 and Layer3 packets" - default 0 + default n help If this feature is enabled, all traffic from layer2(WIFI Driver) will be copied to a new buffer before sending it to layer3(LWIP stack), freeing @@ -35,14 +35,14 @@ config LWIP_THREAD_LOCAL_STORAGE_INDEX config LWIP_SO_REUSE bool "Enable SO_REUSEADDR option" - default 0 + default n help Enabling this option allows binding to a port which remains in TIME_WAIT. config LWIP_SO_RCVBUF bool "Enable SO_RCVBUF option" - default 0 + default n help Enabling this option allows checking for available data on a netconn. @@ -57,14 +57,14 @@ config LWIP_DHCP_MAX_NTP_SERVERS config LWIP_IP_FRAG bool "Enable fragment outgoing IP packets" - default 0 + default n help Enabling this option allows fragmenting outgoing IP packets if their size exceeds MTU. config LWIP_IP_REASSEMBLY bool "Enable reassembly incoming fragmented IP packets" - default 0 + default n help Enabling this option allows reassemblying incoming fragmented IP packets. @@ -84,7 +84,7 @@ config TCP_SYNMAXRTX config LWIP_DHCP_DOES_ARP_CHECK bool "Enable an ARP check on the offered address" - default 1 + default y help Enabling this option allows check if the offered IP address is not already in use by another host on the network.