Enable CMD_PING6 option if IPV6 && CMD_PING are enabled

Signed-off-by: Viacheslav Mitrofanov <v.v.mitrofa...@yadro.com>
---
 cmd/Kconfig | 1 +
 1 file changed, 1 insertion(+)
diff --git a/cmd/Kconfig b/cmd/Kconfig
index e8f4e43ebe..441f5bcd90 100644
--- a/cmd/Kconfig
+++ b/cmd/Kconfig
@@ -1804,6 +1804,7 @@ config CMD_PING
 config CMD_PING6
        bool "ping6"
        depends on IPV6
+       default y if (CMD_PING && IPV6)
        help
          Send ICMPv6 ECHO_REQUEST to network host
 
-- 
2.25.1

Reply via email to