aboutsummaryrefslogtreecommitdiffstats
path: root/lib/snmp/src/manager/snmpm_conf.erl
diff options
context:
space:
mode:
authorRaimo Niskanen <[email protected]>2014-09-10 12:19:44 +0200
committerRaimo Niskanen <[email protected]>2014-09-10 12:19:44 +0200
commit45f9f2051a1c8fd18be13442a7f12bea7d84a911 (patch)
tree0b8e8102415512a446224da44d8ea2b4fa998b7a /lib/snmp/src/manager/snmpm_conf.erl
parent92b58b6bc5ff7af222d481811bd496cc7723c77e (diff)
parent7af44569ffe0b453761fcd7d45a0408d523c5195 (diff)
downloadotp-45f9f2051a1c8fd18be13442a7f12bea7d84a911.tar.gz
otp-45f9f2051a1c8fd18be13442a7f12bea7d84a911.tar.bz2
otp-45f9f2051a1c8fd18be13442a7f12bea7d84a911.zip
Merge branch 'maint'
Diffstat (limited to 'lib/snmp/src/manager/snmpm_conf.erl')
-rw-r--r--lib/snmp/src/manager/snmpm_conf.erl8
1 files changed, 5 insertions, 3 deletions
diff --git a/lib/snmp/src/manager/snmpm_conf.erl b/lib/snmp/src/manager/snmpm_conf.erl
index 888f19aec6..087ef6c6ea 100644
--- a/lib/snmp/src/manager/snmpm_conf.erl
+++ b/lib/snmp/src/manager/snmpm_conf.erl
@@ -114,6 +114,7 @@ do_write_manager_conf(Fd, {Tag, Val})
when Tag =:= domain;
Tag =:= address;
Tag =:= port;
+ Tag =:= transports;
Tag =:= max_message_size ->
io:format(Fd, "{~w, ~w}.~n", [Tag, Val]);
do_write_manager_conf(Fd, {Tag, Val})
@@ -199,9 +200,10 @@ do_write_users_conf(_Fd, Crap) ->
%% ------ agents.conf ------
%%
-agents_entry(UserId, TargetName, Comm, Ip, Port, EngineID, Timeout,
- MaxMessageSize, Version, SecModel, SecName, SecLevel) ->
- {UserId, TargetName, Comm, Ip, Port, EngineID, Timeout,
+agents_entry(
+ UserId, TargetName, Comm, Domain_or_Ip, Addr_or_Port, EngineID, Timeout,
+ MaxMessageSize, Version, SecModel, SecName, SecLevel) ->
+ {UserId, TargetName, Comm, Domain_or_Ip, Addr_or_Port, EngineID, Timeout,
MaxMessageSize, Version, SecModel, SecName, SecLevel}.