summaryrefslogtreecommitdiff
path: root/ext/snmp
diff options
context:
space:
mode:
authorBoris Lytochkin <lytboris@php.net>2013-03-17 20:52:12 +0400
committerBoris Lytochkin <lytboris@php.net>2013-03-17 20:52:12 +0400
commitc5ba47ac599e7e6ac5dd8ef6403f9e447783e8e9 (patch)
treec3cb787612f7b13778a16ff7131fe08af70d24f6 /ext/snmp
parent5d0826e9c34f2172229fc5c13a006a5abcffcedc (diff)
parent85d9d85ce27cf46d26b2717a5cfc3b8f917116ef (diff)
downloadphp-git-c5ba47ac599e7e6ac5dd8ef6403f9e447783e8e9.tar.gz
Merge branch 'PHP-5.4' into PHP-5.5
* PHP-5.4: more test coverage: missing square bracket error message Fixed bug #61981
Diffstat (limited to 'ext/snmp')
-rw-r--r--ext/snmp/tests/ipv6.phpt4
1 files changed, 4 insertions, 0 deletions
diff --git a/ext/snmp/tests/ipv6.phpt b/ext/snmp/tests/ipv6.phpt
index 12879416c6..f5239e1178 100644
--- a/ext/snmp/tests/ipv6.phpt
+++ b/ext/snmp/tests/ipv6.phpt
@@ -20,6 +20,10 @@ snmp_set_quick_print(false);
snmp_set_valueretrieval(SNMP_VALUE_PLAIN);
var_dump(snmpget($hostname6_port, $community, '.1.3.6.1.2.1.1.1.0'));
+var_dump(snmpget('[dead:beef::', $community, '.1.3.6.1.2.1.1.1.0'));
?>
--EXPECTF--
%unicode|string%(%d) "%s"
+
+Warning: snmpget(): malformed IPv6 address, closing square bracket missing in %s on line %d
+bool(false) \ No newline at end of file