[PATCH 5/5] net: ping6: Auto enable ping6 option

Viacheslav Mitrofanov v.v.mitrofanov at yadro.com
Fri Aug 19 10:09:51 CEST 2022


Enable CMD_PING6 option if IPV6 && CMD_PING are enabled

Signed-off-by: Viacheslav Mitrofanov <v.v.mitrofanov at 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



More information about the U-Boot mailing list