bug report & patch for snmp_mgr
Nicolas Niclausse
nicolas.niclausse@REDACTED
Mon Mar 22 19:26:22 CET 2004
Hello,
I've found a bug in the snmp_mgr module (R9C on linux 2.6 kernel)
The man page say:
start(Options)
start_link(Options) -> void()
[...]
* {receive_type, pdu | msg} - defines the format of delivered
messages. Default is pdu.
but :
4> snmp_mgr:start_link([{agent,"localhost"},{agent_udp, 161},quiet ]).
{ok,<0.41.0>}
5> snmp_mgr:stop().
ok
6> snmp_mgr:start_link([{agent,"localhost"},{agent_udp, 161},quiet,{receive_type, msg} ]).
{error,{invalid_option,{receive_type,msg}}}
** exited: {invalid_option,{receive_type,msg}} **
The following patch resolve the problem:
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: snmp_mgr.diff
URL: <http://erlang.org/pipermail/erlang-patches/attachments/20040322/0fde2b51/attachment.ksh>
-------------- next part --------------
--
Nicolas NICLAUSSE IDEALX S.A.S.
T?l:01 44 42 00 00 http://IDEALX.com/
More information about the erlang-patches
mailing list