ID:               20857
 Updated by:       [EMAIL PROTECTED]
 Reported By:      [EMAIL PROTECTED]
-Status:           Open
+Status:           Feedback
 Bug Type:         SNMP related
 Operating System: Linux RH 7.3
 PHP Version:      4.3.0RC2
 New Comment:

Do you have a patch for this?



Previous Comments:
------------------------------------------------------------------------

[2002-12-06 08:12:46] [EMAIL PROTECTED]

I use php-4.3.0RC2 with net-snmp-5.0.6. It works so far, but snmpset()
always shows a warning "Could not add variable: " and the variable is
not set.
I found out, that there is a bug in ext/snmp.c. Here, type and value of
the varible are not passed to php_snmp_internal(), so these variables
are always 0 and snmp_add_var() fails. So, as a solution, php_snmp and
php_snmpv3 should pass type and value to php_snmp_internal ant
everything is ok.


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


-- 
Edit this bug report at http://bugs.php.net/?id=20857&edit=1

Reply via email to