Skip to content

Commit

Permalink
Set max port range to 65535.
Browse files Browse the repository at this point in the history
  • Loading branch information
baalexander committed Aug 29, 2011
1 parent 3a78761 commit 4b432ba
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/portscanner.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ portscanner.checkPortStatus = function(port, host, callback) {
}

function findAPortWithStatus(status, startPort, endPort, host, callback) {
endPort = endPort || 65535
var foundPort = false
var numberOfPortsChecked = 0

Expand Down

0 comments on commit 4b432ba

Please sign in to comment.