Fix capitalization uuid to UUID to make console apf command working again

This commit is contained in:
Joko Sastriawan 2021-08-18 09:59:38 -07:00
parent 5a174a2230
commit 59cd8dbd9d

View File

@ -4068,7 +4068,7 @@ function processConsoleCommand(cmd, args, rights, sessionid) {
mpskeepalive: 60000,
clientname: require('os').hostname(),
clientaddress: '127.0.0.1',
clientuuid: meshCoreObj.intelamt.uuid,
clientuuid: meshCoreObj.intelamt.UUID,
conntype: connType // 0 = CIRA, 1 = Relay, 2 = LMS. The correct value is 2 since we are performing an LMS relay, other values for testing.
};
if ((apfarg.clientuuid == null) || (apfarg.clientuuid.length != 36)) {