We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4419777 commit 85d9d85Copy full SHA for 85d9d85
ext/snmp/tests/ipv6.phpt
@@ -20,6 +20,10 @@ snmp_set_quick_print(false);
20
snmp_set_valueretrieval(SNMP_VALUE_PLAIN);
21
22
var_dump(snmpget($hostname6_port, $community, '.1.3.6.1.2.1.1.1.0'));
23
+var_dump(snmpget('[dead:beef::', $community, '.1.3.6.1.2.1.1.1.0'));
24
?>
25
--EXPECTF--
26
%unicode|string%(%d) "%s"
27
+
28
+Warning: snmpget(): malformed IPv6 address, closing square bracket missing in %s on line %d
29
+bool(false)
0 commit comments