Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Merge pull request #21 from PirosB3/master

Solved issue #12 on port validation
  • Loading branch information...
commit 7605e180a6403dfaf9fd1f8fec6c4d09c55a72e8 2 parents d5eca8b + 0703732
@progrium authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  bin/localtunnel
View
2  bin/localtunnel
@@ -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
Please sign in to comment.
Something went wrong with that request. Please try again.