Signed-off-by: Alexander Dahl <p...@lespocky.de> --- rules/net-snmp.in | 12 +++++++++--- rules/net-snmp.make | 4 ++-- 2 files changed, 11 insertions(+), 5 deletions(-)
diff --git a/rules/net-snmp.in b/rules/net-snmp.in index aed84a8..95b7d43 100644 --- a/rules/net-snmp.in +++ b/rules/net-snmp.in @@ -109,7 +109,11 @@ config NET_SNMP_MIB_MODULES config NET_SNMP_DEFAULT_MIBS prompt "default mib id's to read" string - default "" + default "SNMPv2-MIB:IF-MIB:IP-MIB:TCP-MIB:UDP-MIB" + help + Colon separated list of default mib IDs to read. (The default list + is "SNMPv2-MIB:IF-MIB:IP-MIB:TCP-MIB:UDP-MIB" with the addition of + any mibs used by the mib modules the agent is configured with) config NET_SNMP_MIB_INSTALL_DIR prompt "directory to install mib files" @@ -117,8 +121,10 @@ config NET_SNMP_MIB_INSTALL_DIR default "/usr/share/snmp/mibs" config NET_SNMP_DOM_SOCK_ONLY - bool "Only allow domain socket connections to the agent" if NET_SNMP_AGENT + bool "Disable UDP/TCP transports for agentx" if NET_SNMP_AGENT default y help - Enable this to disable TCP and UDP connections to the agent. + Enable this to disable TCP and UDP connections for subagent + connections with AgentX protocol. Only unix socket connections are + allowed then. endif diff --git a/rules/net-snmp.make b/rules/net-snmp.make index 7a25043..894946b 100644 --- a/rules/net-snmp.make +++ b/rules/net-snmp.make @@ -54,8 +54,8 @@ NET_SNMP_AUTOCONF := \ --disable-privacy \ --disable-internal-md5 \ --$(call ptx/endis, PTXCONF_NET_SNMP_DOM_SOCK_ONLY)-agentx-dom-sock-only \ - --disable-mib-config-checking \ - --disable-mfd-rewrites \ + --enable-mib-config-checking \ + --enable-mfd-rewrites \ --disable-testing-code \ --disable-reentrant \ --disable-embedded-perl \ -- 1.7.10.4 -- ptxdist mailing list ptxdist@pengutronix.de