Browse Source

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 years ago
parent
commit
6d25886ee2
1 changed files with 1 additions and 1 deletions
  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.