PHP 4.0 Bug #9401: Unable to set remote SNMP port
| From: | nbougues at axialys dot net | Date: | Thu, 22 Feb 2001 13:39:46 +0000 |
| Subject: | PHP 4.0 Bug #9401: Unable to set remote SNMP port | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-47243@lists.php.net to get a copy of this message | ||
From: nbougues@axialys.net
Operating system: Linux
PHP version: 4.0.2
PHP Bug Type: SNMP related
Bug description: Unable to set remote SNMP port
According to the source in snmp.c, it looks like it's impossible to use an snmp* function on a
non standard remote port (other that 161).
For that, the session structure passed to snmp_open needs to have its remote_port field filled.
Maybe it could be possible to add a new argument to the snmp functions, or handle something like
"hostname:port" in the hostname field ?
--
Edit Bug report at: http://bugs.php.net/?id=9401&edit=1