aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorMicael Karlberg <[email protected]>2011-03-08 18:23:31 +0100
committerMicael Karlberg <[email protected]>2011-03-08 18:23:31 +0100
commit2b0d9ba437b263317227ce7d3ba0c581fa4dfb34 (patch)
tree4fba900757711a5ce54c1cc12fd1ff15bfe4d58b /lib
parent699b00036849c33db8c13033c13291baa0ed1523 (diff)
downloadotp-2b0d9ba437b263317227ce7d3ba0c581fa4dfb34.tar.gz
otp-2b0d9ba437b263317227ce7d3ba0c581fa4dfb34.tar.bz2
otp-2b0d9ba437b263317227ce7d3ba0c581fa4dfb34.zip
Debugging when retrieving destinations.
Diffstat (limited to 'lib')
-rw-r--r--lib/snmp/src/agent/snmpa_trap.erl4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/snmp/src/agent/snmpa_trap.erl b/lib/snmp/src/agent/snmpa_trap.erl
index 648dd46508..09ecb5228b 100644
--- a/lib/snmp/src/agent/snmpa_trap.erl
+++ b/lib/snmp/src/agent/snmpa_trap.erl
@@ -441,11 +441,13 @@ split_variables([]) -> {[], []}.
%% NOTE: This function is executed in the master agent's context
%%-----------------------------------------------------------------
find_dests("") ->
+ ?vtrace("find destinations", []),
snmp_notification_mib:get_targets();
find_dests(NotifyName) ->
+ ?vtrace("find destinations for ~p", [NotifyName]),
case snmp_notification_mib:get_targets(NotifyName) of
[] ->
- ?vlog("No dests found for snmpNotifyName: ~p",[NotifyName]),
+ ?vlog("No dests found for NotifyName: ~p", [NotifyName]),
[];
Dests ->
Dests