Browse Source

Fix net_uv.isIPv4/6 bug

v0.7.4-release
Bert Belder 14 years ago
parent
commit
3b16a89b3a
  1. 4
      lib/net_uv.js

4
lib/net_uv.js

@ -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;
};

Loading…
Cancel
Save