From 3d06af66f9da569891d48594e8a6fe72e0065d20 Mon Sep 17 00:00:00 2001 From: Micael Karlberg Date: Fri, 12 Feb 2010 15:55:58 +0000 Subject: OTP-8442: Regstration of agents using config file incorrect OTO-8442: Per Hedeland --- lib/snmp/src/manager/snmpm_config.erl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'lib/snmp/src/manager') diff --git a/lib/snmp/src/manager/snmpm_config.erl b/lib/snmp/src/manager/snmpm_config.erl index e4069485ad..b976e8f568 100644 --- a/lib/snmp/src/manager/snmpm_config.erl +++ b/lib/snmp/src/manager/snmpm_config.erl @@ -1657,7 +1657,8 @@ verify_agent({UserId, {ok, Addr} -> snmp_conf:check_integer(Port, {gt, 0}), Conf = - [{address, Addr}, + [{reg_type, target_name}, + {address, Addr}, {port, Port}, {community, Comm}, {engine_id, EngineId}, -- cgit v1.2.3