🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.ibm.pc.games.space-sim
Article #93570

Re: SNMP Question

#93570
From: Brad Martin
Date: Wed, 19 Mar 2003 18:40
33 lines
2349 bytes
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.

br d
Technical Details
Message-ID: <uaeh7vglc89hhj95oda3mq3brm36ak7r0i@4ax.com>
Path: mbox-mo1.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!logbridge.uoregon.edu!kibo.news.demon.net!demon!news.clues.com!mephistopheles.news.clara.net!news.clara.net!lon1-news.nildram.net!195.149.20.147.MISMATCH!mercury.nildram.co.uk!not-for-mail
References: <2g1ea.9094$pK4.803197@newsread1.prod.itd.earthlink.net>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!logbridge.uoregon.edu!kibo.news.demon.net!demon!news.clues.com!mephistopheles.news.clara.net!news.clara.net!lon1-news.nildram.net!195.149.20.147.MISMATCH!mercury.nildram.co.uk!not-for-mail
From: Brad Martin <br...@zakalwe.demon.co.uk>
Newsgroups: comp.sys.ibm.pc.games.space-sim
Subject: Re: SNMP Question
Date: Wed, 19 Mar 2003 18:40:07 +0000
Message-ID: <uaeh7vglc89hhj95oda3mq3brm36ak7r0i@4ax.com>
References: <2g1ea.9094$pK4.803197@newsread1.prod.itd.earthlink.net>
X-Newsreader: Forte Agent 1.93/32.576 English (American)
MIME-Version: 1.0
Lines: 33
NNTP-Posting-Host: 81.6.252.164
X-Trace: 1048099205 mercury.nildram.net 59846 81.6.252.164
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit