From 612c0e03a7db75fb8c8980b2bb8e8ccd573149f6 Mon Sep 17 00:00:00 2001 From: florian Date: Sun, 26 Jul 2009 18:06:47 +0000 Subject: [PATCH] [package] fix snmp transports configuration with IPv6 git-svn-id: svn://svn.openwrt.org/openwrt/packages@17021 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- libs/net-snmp/Makefile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/libs/net-snmp/Makefile b/libs/net-snmp/Makefile index c960c35e8..14b271a34 100644 --- a/libs/net-snmp/Makefile +++ b/libs/net-snmp/Makefile @@ -141,7 +141,11 @@ SNMP_MIB_MODULES_EXCLUDED = \ udp-mib \ utilities \ -SNMP_TRANSPORTS_INCLUDED = Callback UDP UDPIPv6 +SNMP_TRANSPORTS_INCLUDED = Callback UDP + +ifeq ($(CONFIG_IPV6),y) +SNMP_TRANSPORTS_INCLUDED+= UDPIPv6 +endif SNMP_TRANSPORTS_EXCLUDED = TCP TCPIPv6 Unix -- 2.11.0