Bug #80661 [Com]: php-snmp lacks a string output format function
| From: | thewitness at cacti dot net | Date: | Fri, 22 Jan 2021 18:28:02 +0000 |
| Subject: | Bug #80661 [Com]: php-snmp lacks a string output format function | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-231717@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=80661&edit=1
ID: 80661
Comment by: thewitness at cacti dot net
Reported by: thewitness at cacti dot net
Summary: php-snmp lacks a string output format function
Status: Open
Type: Bug
Package: SNMP related
Operating System: All
PHP Version: 8.0.1
Block user comment: N
Private report: N
New Comment:
I've got the fix building on PHP-8 branch. It's to add a new function:
snmp_string_output_format(blah);
Do you want a patch, or a pull request? If so, from what branch?
Previous Comments:
------------------------------------------------------------------------
[2021-01-22 18:26:23] thewitness at cacti dot net
Description:
------------
The various native snmp commands for some time have supported what is referred to as a string out
put format of:
GUESS
ASCII
HEX
However, the current php-snmp implementation can not take advantage of those directives when
performing a walk or a get of a variable.
Test script:
---------------
N/A
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=80661&edit=1