Skip to content

Commit

Permalink
New release v2.0.4.
Browse files Browse the repository at this point in the history
  • Loading branch information
npeditto committed Mar 27, 2018
1 parent c585678 commit 1e96a6a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion lib/management/mng_db.js
Original file line number Diff line number Diff line change
Expand Up @@ -1826,6 +1826,7 @@ db_utils.prototype.removeTunnel = function (service_id, board_id, callback) {

};


//Function to check if a specific port is already used
db_utils.prototype.checkPort = function (s_port, callback) {
var connection = conn();
Expand All @@ -1834,7 +1835,7 @@ db_utils.prototype.checkPort = function (s_port, callback) {
result: ''
};

connection.query("SELECT * FROM reverse_cloud_services WHERE reverse_cloud_services.public_port='" + s_port + "'", function (err, result) {
connection.query("SELECT * FROM active_services WHERE active_services.public_port='" + s_port + "'", function (err, result) {

if (err != null) {
logger.error("checkPort: " + err);
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@mdslab/iotronic-standalone",
"version": "2.0.2",
"version": "2.0.4",
"description": "IoTronic-standalone is the implementation of a personal Cloud to remote manage embedded devices (Arduino YUN/Linino One, Raspberry Pi 2/3, etc)",
"main": "lib/iotronic_standalone.js",
"scripts": {
Expand Down

0 comments on commit 1e96a6a

Please sign in to comment.