Erlang/OTP Forums

Author Message

<  Erlang patches mailing list  ~  bug report & patch for snmp_mgr

nicolas.niclausse at idea
Posted: Mon Mar 22, 2004 6:26 pm Reply with quote
Guest
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:



Post generated using Mail2Forum (http://m2f.sourceforge.net)
Sisley
Posted: Sun Apr 08, 2007 6:22 pm Reply with quote
Guest
Britney Spears *beep* Outdoors!
http://Britney-Spears-*beep*-Outdoors.org/WindowsMediaPlayer.php?movie=231891

Display posts from previous:  

All times are GMT
Page 1 of 1
This forum is locked: you cannot post, reply to, or edit topics.

Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum