From:             [EMAIL PROTECTED]
Operating system: Linux RH 7.3
PHP version:      4.3.0RC2
PHP Bug Type:     SNMP related
Bug description:  snmpset does not work

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 bug report at http://bugs.php.net/?id=20857&edit=1
-- 
Try a CVS snapshot:         http://bugs.php.net/fix.php?id=20857&r=trysnapshot
Fixed in CVS:               http://bugs.php.net/fix.php?id=20857&r=fixedcvs
Fixed in release:           http://bugs.php.net/fix.php?id=20857&r=alreadyfixed
Need backtrace:             http://bugs.php.net/fix.php?id=20857&r=needtrace
Try newer version:          http://bugs.php.net/fix.php?id=20857&r=oldversion
Not developer issue:        http://bugs.php.net/fix.php?id=20857&r=support
Expected behavior:          http://bugs.php.net/fix.php?id=20857&r=notwrong
Not enough info:            http://bugs.php.net/fix.php?id=20857&r=notenoughinfo
Submitted twice:            http://bugs.php.net/fix.php?id=20857&r=submittedtwice
register_globals:           http://bugs.php.net/fix.php?id=20857&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=20857&r=php3
Daylight Savings:           http://bugs.php.net/fix.php?id=20857&r=dst
IIS Stability:              http://bugs.php.net/fix.php?id=20857&r=isapi

Reply via email to