Fix net_uv.isIPv4/6 bug
authorBert Belder <bertbelder@gmail.com>
Mon, 4 Jul 2011 22:03:21 +0000 (00:03 +0200)
committerBert Belder <bertbelder@gmail.com>
Mon, 4 Jul 2011 22:04:57 +0000 (00:04 +0200)
lib/net_uv.js

index 37888ed..4c38e0c 100644 (file)
@@ -565,10 +565,10 @@ exports.isIP = function(input) {
 
 
 exports.isIPv4 = function(input) {
-  return TCP.isIP(input) === 4;
+  return exports.isIP(input) === 4;
 };
 
 
 exports.isIPv6 = function(input) {
-  return TCP.isIP(input) === 6;
+  return exports.isIP(input) === 6;
 };