Article View: comp.sys.ibm.pc.games.space-sim
Article #93571Re: SNMP Question
From: Bret Ripley
Date: Wed, 19 Mar 2003 19:14
Date: Wed, 19 Mar 2003 19:14
42 lines
2925 bytes
2925 bytes
In article <uaeh7vglc89hhj95o...@4ax.com>, br...@zakalwe.demon.co.uk says... > On Wed, 19 Mar 2003 16:53:18 GMT, "FLY135" <fly...@hotmail.com> > wrote: > > >Jim, > > > >I kind of see what my problem is but I don't know why it's happening and how > >to fix it. I have a MIB (called MIBNODE_networkIP) of type > >ASN1_TYPE_IpAddress. I'm using a shareware program called Loriot to do an > >SNMP walk in part of my MIB tree. When I get to MIBNODE_networkIP the > >RTCSMIB_powerful_getnext is entered and I have a breakpoint to see what is > >happening. Originally I thought the MIB_instance_ipAddrEntry parse routing > >was that I needed based on the MIBNODE_ipAdEntAddr MIB in 1213.c. But this > >is what was causing my fault. MIB_instance_ipAddrEntry kept wanting to call > >a FIND function which was NULL. Also MIBNODE_ipAdEntAddr doesn't seem to > >have a FIND function specified either. > > > >So I replaced the MIB_instance_ipAddrEntry parser with MIB_instance_zero, > >thinking that may solve my problem. Well when the beakpoint is hit in > >RTCSMIB_powerful_getnext I see that my parse function is changed back to > >MIB_instance_ipAddrEntry. Is this normal behavior and is this what it > >should be doing? The end result is that RTCSMIB_OP_GETNEXT op code in > >RTCSMIB_powerful_getnext is executed until the ID is zero. The the opcode > >is replaced with RTCSMIB_OP_GETFIRST and the parse function > >MIB_instance_ipAddrEntry is called. At that point MIB_instance_ipAddrEntry > >tries to execute the null FIND. > > > >Got any ideas about what is going wrong? > > Fuck! You must be joking! > > Oh how Zan would have loved this. Rubbish. Obviously, he has simply neglected to flopdoodle the MIB_instance_zero, which is making RTCSMIB_OP_GETNEXT all tretchy. And where the heck is Zan? I'm running out of shadows to worship. Bret
Technical Details
Message-ID:
<MPG.18e2618984f2f871989762@news.ywave.com>Path:
mbox-mo1.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!nntp.cs.ubc.ca!cyclone.bc.net!news-out.spamkiller.net!propagator2-maxim!propagator3-maxim!news-in.superfeed.net!pd2nf1so.cg.shawcable.net!residential.shaw.ca!sea-feed.news.verio.net!quark.scn.rain.com!not-for-mailReferences:
<2g1ea.9094$pK4.803197@newsread1.prod.itd.earthlink.net> <uaeh7vglc89hhj95oda3mq3brm36ak7r0i@4ax.com>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!nntp.cs.ubc.ca!cyclone.bc.net!news-out.spamkiller.net!propagator2-maxim!propagator3-maxim!news-in.superfeed.net!pd2nf1so.cg.shawcable.net!residential.shaw.ca!sea-feed.news.verio.net!quark.scn.rain.com!not-for-mail From: Bret Ripley <rip...@olywa.net> Newsgroups: comp.sys.ibm.pc.games.space-sim Subject: Re: SNMP Question Date: Wed, 19 Mar 2003 11:14:51 -0800 Organization: SCN Research of Tigard, Oregon, USA. Lines: 42 Message-ID: <MPG.18e2618984f2f871989762@news.ywave.com> References: <2g1ea.9094$pK4.803197@newsread1.prod.itd.earthlink.net> <uaeh7vglc89hhj95oda3mq3brm36ak7r0i@4ax.com> NNTP-Posting-Host: dsl6063.ywave.com X-Trace: quark.scn.rain.com 1048101290 18243 12.144.140.63 (19 Mar 2003 19:14:50 GMT) X-Complaints-To: ab...@news.scn.rain.com NNTP-Posting-Date: Wed, 19 Mar 2003 19:14:50 +0000 (UTC) X-Newsreader: MicroPlanet Gravity v2.50 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit