aboutsummaryrefslogtreecommitdiffstats
path: root/lib/snmp/src/agent
diff options
context:
space:
mode:
authorMicael Karlberg <[email protected]>2013-07-04 11:49:12 +0200
committerMicael Karlberg <[email protected]>2013-07-04 11:49:12 +0200
commita020287158a6faedfcacb3c14a4e63e59194dfce (patch)
tree22036ff8e004dbdb4ca8b1e010ba531501205eac /lib/snmp/src/agent
parente0fa927ff00f7e6a4b25664a10a379e20ab50407 (diff)
parent7147e7a36b8a22ba6345356aa786029bab66f4e6 (diff)
downloadotp-a020287158a6faedfcacb3c14a4e63e59194dfce.tar.gz
otp-a020287158a6faedfcacb3c14a4e63e59194dfce.tar.bz2
otp-a020287158a6faedfcacb3c14a4e63e59194dfce.zip
Merge branch 'bmk/snmp/agent/ldb_counter_wrap/OTP-11192' into bmk/snmp/snmp4241_integration/r16
Conflicts: lib/snmp/doc/src/notes.xml lib/snmp/src/app/snmp.appup.src
Diffstat (limited to 'lib/snmp/src/agent')
-rw-r--r--lib/snmp/src/agent/snmpa_local_db.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/snmp/src/agent/snmpa_local_db.erl b/lib/snmp/src/agent/snmpa_local_db.erl
index 2c0cad807a..5198c6ec4e 100644
--- a/lib/snmp/src/agent/snmpa_local_db.erl
+++ b/lib/snmp/src/agent/snmpa_local_db.erl
@@ -583,7 +583,7 @@ handle_cast({variable_inc, Name, Db, N}, State) ->
{value, Val} -> Val;
_ -> 0
end,
- insert(Db, Name, M+N rem 4294967296, State),
+ insert(Db, Name, (M+N) rem 4294967296, State),
{noreply, State};
handle_cast({verbosity,Verbosity}, State) ->