aboutsummaryrefslogtreecommitdiffstats
path: root/lib/snmp/src/agent/snmpa_trap.erl
diff options
context:
space:
mode:
authorMicael Karlberg <[email protected]>2011-03-07 19:22:30 +0100
committerMicael Karlberg <[email protected]>2011-03-07 19:22:30 +0100
commit0c14ab3979bb1eba4b4398c92d176e56eba8286b (patch)
treec21e60501bb4fc6446d9ba2b1091886c623b0120 /lib/snmp/src/agent/snmpa_trap.erl
parente91ecef78904be02bb785fdff0dcaf6d38176ba7 (diff)
downloadotp-0c14ab3979bb1eba4b4398c92d176e56eba8286b.tar.gz
otp-0c14ab3979bb1eba4b4398c92d176e56eba8286b.tar.bz2
otp-0c14ab3979bb1eba4b4398c92d176e56eba8286b.zip
Basically backup commit (time to go home).
Implemented handling of domains in the mpd module. Still some errors left though (3 test cases fail).
Diffstat (limited to 'lib/snmp/src/agent/snmpa_trap.erl')
-rw-r--r--lib/snmp/src/agent/snmpa_trap.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/snmp/src/agent/snmpa_trap.erl b/lib/snmp/src/agent/snmpa_trap.erl
index 786512e0c9..648dd46508 100644
--- a/lib/snmp/src/agent/snmpa_trap.erl
+++ b/lib/snmp/src/agent/snmpa_trap.erl
@@ -1072,7 +1072,7 @@ mk_addr_communities(Recvs) ->
[{Addr, Comm} | T] = lists:keysort(2, Recvs),
mic(T, Comm, [Addr], []).
-mic([{Addr, Comm} | T], CurComm, AddrList, Res) when Comm == CurComm ->
+mic([{Addr, Comm} | T], CurComm, AddrList, Res) when Comm =:= CurComm ->
mic(T, CurComm, [Addr | AddrList], Res);
mic([{Addr, Comm} | T], CurComm, AddrList, Res) ->
mic(T, Comm, [Addr], [{CurComm, AddrList} | Res]);