net: Fix build regression when INET_UDP_DIAG=y and IPV6=m
authorAnisse Astier <anisse@astier.eu>
Tue, 7 Feb 2012 07:39:11 +0000 (07:39 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 7 Feb 2012 18:35:28 +0000 (13:35 -0500)
Tested-by: Anisse Astier <anisse@astier.eu>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/Kconfig

index aa2a2c7..d183262 100644 (file)
@@ -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.