aboutsummaryrefslogtreecommitdiffstats
path: root/lib/snmp/src/agent/snmpa_agent.erl
diff options
context:
space:
mode:
authorMicael Karlberg <[email protected]>2011-12-14 14:15:05 +0100
committerMicael Karlberg <[email protected]>2011-12-21 18:21:49 +0100
commita1c84a9eb253f8b7aa5cdc8b88ca17691ed52c14 (patch)
tree60dd18f1c5709dd0c219d2adfd97b626dc25ca3a /lib/snmp/src/agent/snmpa_agent.erl
parentc4a1020847a7d08be9696bb41a666e36cdf4206c (diff)
downloadotp-a1c84a9eb253f8b7aa5cdc8b88ca17691ed52c14.tar.gz
otp-a1c84a9eb253f8b7aa5cdc8b88ca17691ed52c14.tar.bz2
otp-a1c84a9eb253f8b7aa5cdc8b88ca17691ed52c14.zip
[snmp] Updated doc and fixed wrequest create macros
Release notes updated, together with documentation of the new config option. Also fixed the wrequest create macros (forgot end parantesis). OTP-9700
Diffstat (limited to 'lib/snmp/src/agent/snmpa_agent.erl')
-rw-r--r--lib/snmp/src/agent/snmpa_agent.erl6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/snmp/src/agent/snmpa_agent.erl b/lib/snmp/src/agent/snmpa_agent.erl
index 0510d7b625..00fe9be098 100644
--- a/lib/snmp/src/agent/snmpa_agent.erl
+++ b/lib/snmp/src/agent/snmpa_agent.erl
@@ -112,7 +112,7 @@
{acm_data, ACMData},
{addr, Address},
{gb_max_vbs, GbMaxVBs},
- {extra, Extra}]}.
+ {extra, Extra}]}).
-define(mk_send_trap_wreq(TrapRec, NotifyName, ContextName,
Recv, Vbs, LocalEngineID),
#wrequest{cmd = send_trap,
@@ -121,7 +121,7 @@
{context_name, ContextName},
{receiver, Recv},
{varbinds, Vbs},
- {local_engine_id, LocalEngineID}]}.
+ {local_engine_id, LocalEngineID}]}).
-define(mk_terminate_wreq(), #wrequest{cmd = terminate, info = []}).
-define(mk_verbosity_wreq(V), #wrequest{cmd = verbosity,
info = [{verbosity, V}]}).
@@ -3585,7 +3585,7 @@ conv_res([VbListOfBytes | T], Bytes) ->
conv_res([], Bytes) ->
Bytes.
-%% The only only other value, then a positive integer, is infinity.
+%% The only other value, then a positive integer, is infinity.
do_get_rep(_Sz, _MibView, Count, Max, _, _Res, GbNumVBs, GbMaxVBs)
when (is_integer(GbMaxVBs) andalso (GbNumVBs > GbMaxVBs)) ->
?vinfo("Max Get-BULK VBs limit (~w) exceeded (~w) when:"