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'
This commit is contained in:
Liu Zhi Fu 2017-03-01 13:37:36 +08:00
parent ae09a46cb8
commit 3b3c3210a6

View File

@ -2,7 +2,7 @@ menu "LWIP"
config L2_TO_L3_COPY config L2_TO_L3_COPY
bool "Enable copy between Layer2 and Layer3 packets" bool "Enable copy between Layer2 and Layer3 packets"
default 0 default n
help help
If this feature is enabled, all traffic from layer2(WIFI Driver) will be 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 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 config LWIP_SO_REUSE
bool "Enable SO_REUSEADDR option" bool "Enable SO_REUSEADDR option"
default 0 default n
help help
Enabling this option allows binding to a port which remains in Enabling this option allows binding to a port which remains in
TIME_WAIT. TIME_WAIT.
config LWIP_SO_RCVBUF config LWIP_SO_RCVBUF
bool "Enable SO_RCVBUF option" bool "Enable SO_RCVBUF option"
default 0 default n
help help
Enabling this option allows checking for available data on a netconn. 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 config LWIP_IP_FRAG
bool "Enable fragment outgoing IP packets" bool "Enable fragment outgoing IP packets"
default 0 default n
help help
Enabling this option allows fragmenting outgoing IP packets if their size Enabling this option allows fragmenting outgoing IP packets if their size
exceeds MTU. exceeds MTU.
config LWIP_IP_REASSEMBLY config LWIP_IP_REASSEMBLY
bool "Enable reassembly incoming fragmented IP packets" bool "Enable reassembly incoming fragmented IP packets"
default 0 default n
help help
Enabling this option allows reassemblying incoming fragmented IP packets. Enabling this option allows reassemblying incoming fragmented IP packets.
@ -84,7 +84,7 @@ config TCP_SYNMAXRTX
config LWIP_DHCP_DOES_ARP_CHECK config LWIP_DHCP_DOES_ARP_CHECK
bool "Enable an ARP check on the offered address" bool "Enable an ARP check on the offered address"
default 1 default y
help help
Enabling this option allows check if the offered IP address is not already Enabling this option allows check if the offered IP address is not already
in use by another host on the network. in use by another host on the network.