ID: 31772 User updated by: LarryJAdams at comcast dot net Reported By: LarryJAdams at comcast dot net -Status: Feedback +Status: Open Bug Type: SNMP related Operating System: Win32 PHP Version: 5.0.3 New Comment:
I had the same question for Harrie (one of the authors) and he did not want to go that way. However, there is another workaround that was sent to me by another user that could be incorporated except for the "bulk" operations. Either way, this code works and the SNMPv3 is so different anyway, we can't go down to one function easily. Previous Comments: ------------------------------------------------------------------------ [2005-03-06 17:40:06] [EMAIL PROTECTED] What's wrong with adding something like 'snmp_set_version()' func instead of having separate functions for v1/v2/v3 ??? ------------------------------------------------------------------------ [2005-03-01 01:24:53] LarryJAdams at comcast dot net The prior post was for the snmp.c files. The php_snmp.h files are patched as follows: php_snmp.h for php4.3.x http://home.comcast.net/~larryjadams/php_snmp.4.3.x.diff php_snmp.h for php5.0.x http://home.comcast.net/~larryjadams/php_snmp.5.0.x.diff php_snmp.h for php5.1.x http://home.comcast.net/~larryjadams/php_snmp.5.1.x.diff TheWitness ------------------------------------------------------------------------ [2005-03-01 00:52:58] LarryJAdams at comcast dot net Your links are as follows: php_snmp for php4.3.x http://home.comcast.net/~larryjadams/snmp4.3.x.diff php_snmp for php5.0.x http://home.comcast.net/~larryjadams/snmp5.0.x.diff php_snmp for php5.1.x http://home.comcast.net/~larryjadams/snmp5.1.x.diff TheWitness ------------------------------------------------------------------------ [2005-02-28 20:54:38] [EMAIL PROTECTED] Please provide the unified diff somewhere in the web and add the url to it here. ------------------------------------------------------------------------ [2005-02-01 03:17:57] larryjadams at comcast dot net I have submitted fixes for the following PHP CVS Branches: PHP 4.3.x PHP 5.0.x PHP 5.1.x The fix also included the snmpv2 feature set. I hope you all enjoy it as much as I will. Larry ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/31772 -- Edit this bug report at http://bugs.php.net/?id=31772&edit=1
