snmpSet bug

Jochen Katz katz____agentpp.com
Tue Jul 3 23:29:08 CEST 2001


Hi,

thank you for your report. The fixes will be in the next release.

> I have been trying to use the snmpSet utility from the
> consoleExamples in the SNMP++v3 package, and I found a
> couple of problems with this example.
> 
> Searching for the "-c" string in the argument will
> return a result not only for the community name argument,
> but also for the context name (option "-cn")
> and context engine id (option "-ce").

I changed the option for the community to -C as the proposed solution
won't allow communities that begin with n or e.

> The lines:
>     setpdu.set_context_name(contextName);
>     setpdu.set_context_engine_id(contextEngineID);
> should be added, for example, after line 517.

I added these lines and the missing #ifdefs.

Best regards,
  Jochen



More information about the AGENTPP mailing list