[OpenSIPS-Devel] [ opensips-Bugs-3584278 ] regression in snmpstats module

SourceForge.net noreply at sourceforge.net
Mon Nov 5 19:07:22 CET 2012


Bugs item #3584278, was opened at 2012-11-05 10:07
Message generated for change (Tracker Item Submitted) made by ledda
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=1086410&aid=3584278&group_id=232389

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: modules
Group: 1.8.x
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: ledda (ledda)
Assigned to: Nobody/Anonymous (nobody)
Summary: regression in snmpstats module

Initial Comment:
Unable to browse SNMP information.

snmpwalk -v 1 -c public 127.0.0.1 OPENSER-REG-MIB::openser
OPENSER-SIP-COMMON-MIB::openserSIPProtocolVersion.0 = STRING: SIP/2.0
Error in packet.
Reason: (genError) A general failure occured
Failed object: OPENSER-SIP-COMMON-MIB::openserSIPProtocolVersion.0

When the code changed back to the way how it was in v1.6.4 it works fine.


opensips-1.6.4-2-tls/modules/snmpstats/openserSIPCommonObjects.c
fgets(buffer, SNMPGET_MAX_BUFFER, theFile);

opensips-1.8.2-tls/modules/snmpstats/openserSIPCommonObjects.c
if (fgets(buffer, SNMPGET_MAX_BUFFER, theFile)==NULL)
			return SNMP_ERR_GENERR;


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

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=1086410&aid=3584278&group_id=232389



More information about the Devel mailing list