You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jul 16, 2021. It is now read-only.
What steps will reproduce the problem?
1. Calling SNMP::trap() is not working
What version of the product are you using? On what operating system?
Debian, Lenny
Please provide any additional information below.
Bugs in SNMP.php
Line: 80
$trap is not exists, should be $pSnmp
Line: 91
$trapPacket is not exists, should be $snmpPacket
Proposals:
All functions shoul be part od class.
SNMPTrap is better name for class.
Impreved hexlen:
public static function hexlen( $s )
{
$len = strlen( $s );
$hexlen = self::dec2hex( $len );
$keyByte = "";
if( $len > 127 ){
$lenBytes = strlen( $hexlen ) / 2;
$keyByte = self::dec2hex( 0x80 + $lenBytes );
}
return $keyByte . $hexlen;
}
Original issue reported on code.google.com by miloslav...@gmail.com on 2 Oct 2009 at 5:07
The text was updated successfully, but these errors were encountered:
Original issue reported on code.google.com by
miloslav...@gmail.com
on 2 Oct 2009 at 5:07The text was updated successfully, but these errors were encountered: