🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

SNMP Question

#93566
From: FLY135
Date: Wed, 19 Mar 2003 16:53
30 lines
2483 bytes
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?


--
John Anderson
Coretec Communications
(407) 331-0547
Technical Details
Message-ID: <2g1ea.9094$pK4.803197@newsread1.prod.itd.earthlink.net>
Path: mbox-mo1.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!logbridge.uoregon.edu!feed2.news.rcn.net!rcn!priapus.visi.com!news-out.visi.com!petbe.visi.com!newsfeed1.earthlink.net!newsfeed.earthlink.net!stamper.news.pas.earthlink.net!newsread1.prod.itd.earthlink.net.POSTED!not-for-mail

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!logbridge.uoregon.edu!feed2.news.rcn.net!rcn!priapus.visi.com!news-out.visi.com!petbe.visi.com!newsfeed1.earthlink.net!newsfeed.earthlink.net!stamper.news.pas.earthlink.net!newsread1.prod.itd.earthlink.net.POSTED!not-for-mail
From: "FLY135" <fly...@hotmail.com>
Newsgroups: comp.sys.ibm.pc.games.space-sim
Subject: SNMP Question
Lines: 32
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2600.0000
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000
Message-ID: <2g1ea.9094$pK4.803197@newsread1.prod.itd.earthlink.net>
Date: Wed, 19 Mar 2003 16:53:18 GMT
NNTP-Posting-Host: 65.41.18.63
X-Complaints-To: ab...@earthlink.net
X-Trace: newsread1.prod.itd.earthlink.net 1048092798 65.41.18.63 (Wed, 19 Mar 2003 08:53:18 PST)
NNTP-Posting-Date: Wed, 19 Mar 2003 08:53:18 PST
Organization: EarthLink Inc. -- http://www.EarthLink.net
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit