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

List:       net-snmp-bugs
Subject:    [ net-snmp-Bugs-1335251 ] should SNMP::OID respect use_numeric ?
From:       "SourceForge.net" <noreply () sourceforge ! net>
Date:       2005-10-23 5:06:33
Message-ID: E1ETY41-0005aF-Gz () sc8-sf-web3 ! sourceforge ! net
[Download RAW message or body]

Bugs item #1335251, was opened at 2005-10-23 05:04
Message generated for change (Comment added) made by thomasdm
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=112694&aid=1335251&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: Open
Resolution: None
Priority: 5
Submitted By: Danny Thomas (thomasdm)
Assigned to: Nobody/Anonymous (nobody)
Summary: should SNMP::OID respect use_numeric ?

Initial Comment:
I'm not sure this is a bug as it depends on the intended behaviour
of NetSNMP::OID, but it does not seem to respect either
use_long_names or use_numeric.

Admittedly those variables seem defined more towards the
result of an SNMP operation such as get.

use SNMP;

for my $long (0, 1) {
    for my $num (0, 1) {
        $SNMP::use_long_names = $long;
        $SNMP::use_numeric = $num;
        my $oid = NetSNMP::OID->new('.iso.3.6.1.2.1.2.2.1.3.1');
        printf "oid = '%s'\n", $oid;
    }
}

prints
oid = 'ifType.1'
oid = 'ifType.1'
oid = 'ifType.1'
oid = 'ifType.1'


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

>Comment By: Danny Thomas (thomasdm)
Date: 2005-10-23 05:06

Message:
Logged In: YES 
user_id=601972

forgot to mention this is with net-snmp-5.2.2.pre4

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

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


-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc.
Get Certified Today * Register for a JBoss Training Course
Free Certification Exam for All Training Attendees Through End of 2005
Visit http://www.jboss.com/services/certification for more information
_______________________________________________
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