From: SourceForge.net <no...@so...> - 2005-10-22 00:33:01
|
Patches item #1334598, was opened at 2005-10-21 17:32 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=312694&aid=1334598&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: None Group: None Status: Open Resolution: None Priority: 5 Submitted By: Nobody/Anonymous (nobody) Assigned to: Nobody/Anonymous (nobody) Summary: perl, warn messages in SNMP.xs Initial Comment: using verbose with net-snmp-5.2.2.pre4 I was surprised when a get operation resulted in error: set: unknown object ID at ... the following line occurs in a few places in SNMP.xs (pastos?) warn("error: set: unknown object ID"); in snmp_get, snmp_getnext, snmp_getbulk I've modified it to 1) reflect the name of the function, i.e. rather than 'set' 2) print the tag, as done in snmp_set I've also changed a few other warns to mention the routine they're called from, which is arguable for the MIB warns as they are just messages rather than errors anyway the error msg from my code no says error: get: unknown object ID (mib-2.3.1.1.2) at ... ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=312694&aid=1334598&group_id=12694 |