> but as far as i understand the netsnmp_call_handler (agent_handler.c) already > traverses all of the handlers in the list (handler->next) and calls each of > them's access_methods is it necessary to call netsnmp_call_next_handler in my > hanldlers ?
You only need to call it if you have handlers below you. Most of the time you're the "end of the line" so it's not needed. However, it actually doesn't hurt to stick in that final bit of code just in case you ever add stuff lower in the chain as the first thing in the if statement is a NULL check to ensure you should call it. -- Wes Hardaker Please mail all replies to net-snmp-coders@lists.sourceforge.net ------------------------------------------------------------------------------ ThinkGeek and WIRED's GeekDad team up for the Ultimate GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the lucky parental unit. See the prize list and enter to win: http://p.sf.net/sfu/thinkgeek-promo _______________________________________________ Net-snmp-coders mailing list Net-snmp-coders@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/net-snmp-coders