[prev in list] [next in list] [prev in thread] [next in thread] 

List:       net-snmp-bugs
Subject:    [ net-snmp-Bugs-766867 ] SNMP::MIB{<oid>} no long works
From:       "SourceForge.net" <noreply () sourceforge ! net>
Date:       2009-02-16 22:00:17
Message-ID: E1LZBVh-0002c0-Uz () 3bkjzd1 ! ch3 ! sourceforge ! com
[Download RAW message or body]

Bugs item #766867, was opened at 2003-07-07 01:20
Message generated for change (Settings changed) made by tanders
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=112694&aid=766867&group_id=12694

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: perl
Group: None
>Status: Pending
Resolution: None
Priority: 5
Private: No
Submitted By: Philip Molter (hrunting)
Assigned to: Nobody/Anonymous (nobody)
Summary: SNMP::MIB{&lt;oid&gt;} no long works

Initial Comment:
Under the 4.2.x series of net-snmp and its perl modules, 
you could lookup a numeric OID in %SNMP::MIB and it 
would return itself.  This was handy to check the validity 
of an OID, as you would compare the OID to the 
objectID value of the returned NODE structure.  In 
5.0.8, that's broken.  %SNMP::MIB{&lt;numeric_oid&gt;} 
returns undef.

----------------------------------------------------------------------

Comment By: Wes Hardaker (hardaker)
Date: 2009-02-16 22:09

Message:
works for me:

> perl -MSNMP -e 'my $x = $SNMP::MIB{".1.3.6.1"}; print
$x->{"label"},"\n"'
internet

???

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=112694&aid=766867&group_id=12694

------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
Net-snmp-bugs mailing list
Net-snmp-bugs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/net-snmp-bugs
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic