Permalink
Browse files

Merge pull request #21 from PirosB3/master

Solved issue #12 on port validation
  • Loading branch information...
progrium committed Jun 29, 2011
2 parents d5eca8b + 0703732 commit 7605e180a6403dfaf9fd1f8fec6c4d09c55a72e8
Showing with 1 addition and 1 deletion.
  1. +1 −1 bin/localtunnel
View
@@ -37,7 +37,7 @@ end
args = options.parse!
local_port = args[0]
-unless local_port
+unless local_port.to_i.between?(1, 65535)
puts options
exit
end

0 comments on commit 7605e18

Please sign in to comment.