From bb24794fcb2d584e7ccf1520d77fcf106b68cfd9 Mon Sep 17 00:00:00 2001 From: chao an Date: Sun, 20 Nov 2022 14:32:04 +0800 Subject: [PATCH] system/ping[6]: ping[6] should also be enabled if NET_ICMP[v6]_NO_STACK == y Signed-off-by: chao an --- 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.