summaryrefslogtreecommitdiff
path: root/node.gyp
diff options
context:
space:
mode:
authorEvan Lucas <evanlucas@me.com>2016-01-26 08:12:41 -0600
committerEvan Lucas <evanlucas@me.com>2016-01-30 17:53:55 -0600
commit6cbbfef994930bc47581d592124e82b58e55ac7b (patch)
tree26be4d68b357ef6fd473b04d04b4f449e8ae215e /node.gyp
parent6ad1f7b51ce06bfe89f32ab3d2324b81293608f8 (diff)
downloadandroid-node-v8-6cbbfef994930bc47581d592124e82b58e55ac7b.tar.gz
android-node-v8-6cbbfef994930bc47581d592124e82b58e55ac7b.tar.bz2
android-node-v8-6cbbfef994930bc47581d592124e82b58e55ac7b.zip
net: move isLegalPort to internal/net
isLegalPort can be used in more places than just net.js. This change moves it to a new internal net module in preparation for using it in the dns module. PR-URL: https://github.com/nodejs/node/pull/4882 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com>
Diffstat (limited to 'node.gyp')
-rw-r--r--node.gyp1
1 files changed, 1 insertions, 0 deletions
diff --git a/node.gyp b/node.gyp
index 672c3ce669..a65f76e4ce 100644
--- a/node.gyp
+++ b/node.gyp
@@ -73,6 +73,7 @@
'lib/internal/cluster.js',
'lib/internal/freelist.js',
'lib/internal/linkedlist.js',
+ 'lib/internal/net.js',
'lib/internal/module.js',
'lib/internal/readline.js',
'lib/internal/repl.js',