From dc527f5c9da007465935e798233b00688e71c762 Mon Sep 17 00:00:00 2001 From: Gregory Nutt Date: Thu, 5 Feb 2015 10:47:42 -0600 Subject: [PATCH] Fix errors in range of IPv6 netmask range in Kconfig files --- examples/nettest/Kconfig | 18 +++++++++--------- examples/udp/Kconfig | 18 +++++++++--------- nshlib/Kconfig | 16 ++++++++-------- 3 files changed, 26 insertions(+), 26 deletions(-) diff --git a/examples/nettest/Kconfig b/examples/nettest/Kconfig index 0c021dd6f..8c90a3dfa 100644 --- a/examples/nettest/Kconfig +++ b/examples/nettest/Kconfig @@ -246,7 +246,7 @@ comment "IPv6 Network mask" config EXAMPLES_NETTEST_IPv6NETMASK_1 hex "[0]" - default 0xfe00 + default 0xffff range 0x0 0xffff ---help--- Network mask. This is a 16-bit integer value in host order. Each @@ -256,7 +256,7 @@ config EXAMPLES_NETTEST_IPv6NETMASK_1 config EXAMPLES_NETTEST_IPv6NETMASK_2 hex "[1]" - default 0x0000 + default 0xffff range 0x0 0xffff ---help--- Network mask. This is a 16-bit integer value in host order. Each @@ -266,7 +266,7 @@ config EXAMPLES_NETTEST_IPv6NETMASK_2 config EXAMPLES_NETTEST_IPv6NETMASK_3 hex "[2]" - default 0x0000 + default 0xffff range 0x0 0xffff ---help--- Network mask. This is a 16-bit integer value in host order. Each @@ -276,8 +276,8 @@ config EXAMPLES_NETTEST_IPv6NETMASK_3 config EXAMPLES_NETTEST_IPv6NETMASK_4 hex "[3]" - default 0x0000 - range 0x0 0x0000 + default 0xffff + range 0x0 0xffff ---help--- Network mask. This is a 16-bit integer value in host order. Each of the eight values forming the full IP address must be specified @@ -286,7 +286,7 @@ config EXAMPLES_NETTEST_IPv6NETMASK_4 config EXAMPLES_NETTEST_IPv6NETMASK_5 hex "[4]" - default 0x0000 + default 0xffff range 0x0 0xffff ---help--- Network mask. This is a 16-bit integer value in host order. Each @@ -296,7 +296,7 @@ config EXAMPLES_NETTEST_IPv6NETMASK_5 config EXAMPLES_NETTEST_IPv6NETMASK_6 hex "[5]" - default 0x0000 + default 0xffff range 0x0 0xffff ---help--- Network mask. This is a 16-bit integer value in host order. Each @@ -306,7 +306,7 @@ config EXAMPLES_NETTEST_IPv6NETMASK_6 config EXAMPLES_NETTEST_IPv6NETMASK_7 hex "[6]" - default 0x0000 + default 0xffff range 0x0 0xffff ---help--- Network mask. This is a 16-bit integer value in host order. Each @@ -316,7 +316,7 @@ config EXAMPLES_NETTEST_IPv6NETMASK_7 config EXAMPLES_NETTEST_IPv6NETMASK_8 hex "[7]" - default 0x0000 + default 0xff80 range 0x0 0xffff ---help--- Network mask. This is a 16-bit integer value in host order. Each diff --git a/examples/udp/Kconfig b/examples/udp/Kconfig index eeb51c3e7..e6e1da4ac 100644 --- a/examples/udp/Kconfig +++ b/examples/udp/Kconfig @@ -226,7 +226,7 @@ comment "IPv6 Network mask" config EXAMPLES_UDP_IPv6NETMASK_1 hex "[0]" - default 0xfe00 + default 0xffff range 0x0 0xffff ---help--- Network mask. This is a 16-bit integer value in host order. Each @@ -236,7 +236,7 @@ config EXAMPLES_UDP_IPv6NETMASK_1 config EXAMPLES_UDP_IPv6NETMASK_2 hex "[1]" - default 0x0000 + default 0xffff range 0x0 0xffff ---help--- Network mask. This is a 16-bit integer value in host order. Each @@ -246,7 +246,7 @@ config EXAMPLES_UDP_IPv6NETMASK_2 config EXAMPLES_UDP_IPv6NETMASK_3 hex "[2]" - default 0x0000 + default 0xffff range 0x0 0xffff ---help--- Network mask. This is a 16-bit integer value in host order. Each @@ -256,8 +256,8 @@ config EXAMPLES_UDP_IPv6NETMASK_3 config EXAMPLES_UDP_IPv6NETMASK_4 hex "[3]" - default 0x0000 - range 0x0 0x0000 + default 0xffff + range 0x0 0xffff ---help--- Network mask. This is a 16-bit integer value in host order. Each of the eight values forming the full IP address must be specified @@ -266,7 +266,7 @@ config EXAMPLES_UDP_IPv6NETMASK_4 config EXAMPLES_UDP_IPv6NETMASK_5 hex "[4]" - default 0x0000 + default 0xffff range 0x0 0xffff ---help--- Network mask. This is a 16-bit integer value in host order. Each @@ -276,7 +276,7 @@ config EXAMPLES_UDP_IPv6NETMASK_5 config EXAMPLES_UDP_IPv6NETMASK_6 hex "[5]" - default 0x0000 + default 0xffff range 0x0 0xffff ---help--- Network mask. This is a 16-bit integer value in host order. Each @@ -286,7 +286,7 @@ config EXAMPLES_UDP_IPv6NETMASK_6 config EXAMPLES_UDP_IPv6NETMASK_7 hex "[6]" - default 0x0000 + default 0xffff range 0x0 0xffff ---help--- Network mask. This is a 16-bit integer value in host order. Each @@ -296,7 +296,7 @@ config EXAMPLES_UDP_IPv6NETMASK_7 config EXAMPLES_UDP_IPv6NETMASK_8 hex "[7]" - default 0x0000 + default 0xff80 range 0x0 0xffff ---help--- Network mask. This is a 16-bit integer value in host order. Each diff --git a/nshlib/Kconfig b/nshlib/Kconfig index dc1001020..f1427687c 100644 --- a/nshlib/Kconfig +++ b/nshlib/Kconfig @@ -1108,7 +1108,7 @@ comment "IPv6 Network mask" config NSH_IPv6NETMASK_1 hex "[0]" - default 0xfe00 + default 0xffff range 0x0 0xffff ---help--- Network mask. This is a 16-bit integer value in host order. Each @@ -1118,7 +1118,7 @@ config NSH_IPv6NETMASK_1 config NSH_IPv6NETMASK_2 hex "[1]" - default 0x0000 + default 0xffff range 0x0 0xffff ---help--- Network mask. This is a 16-bit integer value in host order. Each @@ -1128,7 +1128,7 @@ config NSH_IPv6NETMASK_2 config NSH_IPv6NETMASK_3 hex "[2]" - default 0x0000 + default 0xffff range 0x0 0xffff ---help--- Network mask. This is a 16-bit integer value in host order. Each @@ -1138,8 +1138,8 @@ config NSH_IPv6NETMASK_3 config NSH_IPv6NETMASK_4 hex "[3]" - default 0x0000 - range 0x0 0x0000 + default 0xffff + range 0x0 0xffff ---help--- Network mask. This is a 16-bit integer value in host order. Each of the eight values forming the full IP address must be specified @@ -1148,7 +1148,7 @@ config NSH_IPv6NETMASK_4 config NSH_IPv6NETMASK_5 hex "[4]" - default 0x0000 + default 0xffff range 0x0 0xffff ---help--- Network mask. This is a 16-bit integer value in host order. Each @@ -1158,7 +1158,7 @@ config NSH_IPv6NETMASK_5 config NSH_IPv6NETMASK_6 hex "[5]" - default 0x0000 + default 0xffff range 0x0 0xffff ---help--- Network mask. This is a 16-bit integer value in host order. Each @@ -1168,7 +1168,7 @@ config NSH_IPv6NETMASK_6 config NSH_IPv6NETMASK_7 hex "[6]" - default 0x0000 + default 0xffff range 0x0 0xffff ---help--- Network mask. This is a 16-bit integer value in host order. Each