diff options
author | Luca Favatella <[email protected]> | 2012-10-26 10:22:16 +0100 |
---|---|---|
committer | Micael Karlberg <[email protected]> | 2013-01-09 17:12:59 +0100 |
commit | 5358f0bd9499ee959beb2ff25714b146850c2d6e (patch) | |
tree | 7fd86181d2190871775d963ed9c6d4327fa99cf7 /lib/snmp/src/manager | |
parent | 9229901660ef1c163ea82c76ea3dc21f5a4f83d4 (diff) | |
download | otp-5358f0bd9499ee959beb2ff25714b146850c2d6e.tar.gz otp-5358f0bd9499ee959beb2ff25714b146850c2d6e.tar.bz2 otp-5358f0bd9499ee959beb2ff25714b146850c2d6e.zip |
Polish return values of snmpm_user_default according to snmpm_user doc
Even if not compliant with snmpm_user's doc, the previous return
values in snmpm_user_default were harmless because of how the
callbacks handle_trap and handle_report are called in snmpm_server.
Diffstat (limited to 'lib/snmp/src/manager')
-rw-r--r-- | lib/snmp/src/manager/snmpm_user_default.erl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/snmp/src/manager/snmpm_user_default.erl b/lib/snmp/src/manager/snmpm_user_default.erl index d90fc3f258..a8db6d8ed7 100644 --- a/lib/snmp/src/manager/snmpm_user_default.erl +++ b/lib/snmp/src/manager/snmpm_user_default.erl @@ -62,7 +62,7 @@ handle_trap(TargetName, SnmpTrap, UserData) -> "~n SnmpTrap: ~p" "~n UserData: ~p", [TargetName, SnmpTrap, UserData]), - ok. + ignore. handle_inform(TargetName, SnmpInform, UserData) -> @@ -80,7 +80,7 @@ handle_report(TargetName, SnmpReport, UserData) -> "~n SnmpReport: ~p" "~n UserData: ~p", [TargetName, SnmpReport, UserData]), - ok. + ignore. info(F, A) -> |