Greetings List,
I am defining my own MIBs and using mib2c to generate my MIB Modules.
I am doing a simple scalar test and have noticed that the community is empty
every place I can find it in my handler's argument. I happened to see some code
where when the snmp_pdu is cloned it the community is put in the contextName,
but that is also empty.
int
handle_foo(netsnmp_mib_handler *handler,
netsnmp_handler_registration *reginfo,
netsnmp_agent_request_info *reqinfo,
netsnmp_request_info *requests)
{
}
Has anyone had any success in extracting the community name from a request?
Regards,
Mike
------------------------------------------------------------------------------
Got Input? Slashdot Needs You.
Take our quick survey online. Come on, we don't ask for help often.
Plus, you'll get a chance to win $100 to spend on ThinkGeek.
http://p.sf.net/sfu/slashdot-survey
_______________________________________________
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users