[php-src] PR #21000: Fix (attempt) GH-20752: netsnmp_session_init() without system ipv6.
| From: | devnexen | Date: | Thu, 22 Jan 2026 02:36:33 +0000 |
| Subject: | [php-src] PR #21000: Fix (attempt) GH-20752: netsnmp_session_init() without system ipv6. | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-34630@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/21000
Author: devnexen
- opening up building peername to non ipv6 supported systems.
- while at it, inet_ntop should not be called with a query size as large as MAX_NAME_LEN/MAX_OID_LEN
but INET6_ADDRSTRLEN max.
- checking in case of non ipv6 support (AF_INET6 can be still defined in this case).