This is an automated email from the ASF dual-hosted git repository.

xiaoxiang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-nuttx-apps.git


The following commit(s) were added to refs/heads/master by this push:
     new bb24794fc system/ping[6]: ping[6] should also be enabled if 
NET_ICMP[v6]_NO_STACK == y
bb24794fc is described below

commit bb24794fcb2d584e7ccf1520d77fcf106b68cfd9
Author: chao an <anc...@xiaomi.com>
AuthorDate: Sun Nov 20 14:32:04 2022 +0800

    system/ping[6]: ping[6] should also be enabled if NET_ICMP[v6]_NO_STACK == y
    
    Signed-off-by: chao an <anc...@xiaomi.com>
---
 system/ping/Kconfig  | 2 +-
 system/ping6/Kconfig | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/system/ping/Kconfig b/system/ping/Kconfig
index 78502b6d2..37b7ef305 100644
--- a/system/ping/Kconfig
+++ b/system/ping/Kconfig
@@ -6,7 +6,7 @@
 config SYSTEM_PING
        tristate "ICMP 'ping' command"
        default n
-       depends on NET_ICMP
+       depends on NET_ICMP || NET_ICMP_NO_STACK
        select NETUTILS_PING
        ---help---
                Enable support for the ICMP 'ping' command.
diff --git a/system/ping6/Kconfig b/system/ping6/Kconfig
index 2d76a2640..90008e2bc 100644
--- a/system/ping6/Kconfig
+++ b/system/ping6/Kconfig
@@ -6,7 +6,7 @@
 config SYSTEM_PING6
        tristate "ICMPv6 'ping6' command"
        default n
-       depends on NET_ICMPv6
+       depends on NET_ICMPv6 || NET_ICMPv6_NO_STACK
        select NETUTILS_PING6
        ---help---
                Enable support for the ICMP 'ping' command.

Reply via email to