Fixed location issue
Ylian Saint-Hilaire committed
Aug 30, 2017 at 13:52 UTC
06ee41c3ad1afbfdc1bd295008eb04048c5e6a5f
2 files changed
+2
-2
meshagent.js
+1
-1
@@ -393,7 +393,7 @@ module.exports.CreateMeshAgent = function (parent, db, ws, req, args, domain) {
393
case 'location':
394
{
395
// Sent by the agent to update location information
396
- if ((command.type == 'publicip') && (typeof command.value == 'object') && (command.value.ip) && (command.value.loc)) {
396
+ if ((command.type == 'publicip') && (command.value != null) && (typeof command.value == 'object') && (command.value.ip) && (command.value.loc)) {
397
var x = {};
398
x.publicip = command.value.ip;
399
x.iploc = command.value.loc;
package.json
+1
-1
@@ -1,6 +1,6 @@
1
{
2
"name": "meshcentral",
3
- "version": "0.0.6-t",
3
+ "version": "0.0.6-u",
4
"keywords": [
5
"Remote Management",
6
"Intel AMT",