projects
/
platform
/
upstream
/
nodejs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7f30f13
)
Fix net_uv.isIPv4/6 bug
author
Bert Belder
<bertbelder@gmail.com>
Mon, 4 Jul 2011 22:03:21 +0000
(
00:03
+0200)
committer
Bert Belder
<bertbelder@gmail.com>
Mon, 4 Jul 2011 22:04:57 +0000
(
00:04
+0200)
lib/net_uv.js
patch
|
blob
|
history
diff --git
a/lib/net_uv.js
b/lib/net_uv.js
index
37888ed
..
4c38e0c
100644
(file)
--- a/
lib/net_uv.js
+++ b/
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;
};