浏览代码

net: Fix build regression when INET_UDP_DIAG=y and IPV6=m

Tested-by: Anisse Astier <anisse@astier.eu>

Signed-off-by: David S. Miller <davem@davemloft.net>
Anisse Astier 13 年之前
父节点
当前提交
6d25886ee2
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      net/ipv4/Kconfig

+ 1 - 1
net/ipv4/Kconfig

@@ -409,7 +409,7 @@ config INET_TCP_DIAG
 
 config INET_UDP_DIAG
 	tristate "UDP: socket monitoring interface"
-	depends on INET_DIAG
+	depends on INET_DIAG && (IPV6 || IPV6=n)
 	default n
 	---help---
 	  Support for UDP socket monitoring interface used by the ss tool.