Skip to content
This repository has been archived by the owner on Apr 21, 2020. It is now read-only.

Commit

Permalink
This is done.
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanbreen committed Dec 23, 2014
1 parent 8451121 commit a201449
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion lib/proxy/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@ ProxyConfig.prototype.isInvalid = function() {
if (!this.service_name) return "Proxy configuration lacks service_name";
if (!this.from_port) return "Proxy configuration lacks from_port";
if (!this.to_port) return "Proxy configuration lacks to_port";
// TODO: Validate that from_port and to_port are numbers between 1 and 65535, inclusive.
if (this.from_port === this.to_port) return "from_port and to_port can not be identical";

var my_from_port = parseInt(this.from_port);
Expand Down

0 comments on commit a201449

Please sign in to comment.