> CC> > On Fri, 1 Oct 2004 13:50:17 -0600 Carlos wrote:
> CC> > CC> So my problem seems to be this.  On doing Sets to my box, I'm 
getting
> CC> > CC> the Mode as FREE (4).  Looking at the tutorial, it seems this 
should 
> CC> > CC> happen if RESERVE1 or RESERVE2 fail.
> CC> 
> CC> > What kind of table are you using?
> CC> 
> CC> And so the bug here is that there is no switch for RESERVE1, 
RESERVE2, or 
> CC> FREE. What happened when a RESERVE1 packet came in was that we hit 
the
> CC> 'default' switch.  Bad news because that returns 'GEN_ERR'.
> 
> Did you get this switch block for an example in net-snmp? All our 
examples, I
> believe, include all cases in the switch blocks.

Some people inherit money.  I inherit mildly-tested vintage code.  What
examples are you talking about?  I can kind of get a clue from 
snmp_agent.c.
In handle_set(), there's also another case called MODE_SET_BEGIN.  Is that
another mode I should be switching on in my code?  Thanks for all the good
info on this topic.

Carlos



-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
_______________________________________________
Net-snmp-users mailing list
[EMAIL PROTECTED]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users

Reply via email to