Fix grammar error

This commit is contained in:
ricardopolo 2019-11-05 14:32:33 -05:00
parent 99fcedf0ee
commit a4c27734ed

View File

@ -289,7 +289,7 @@ function getWindowsIfaceDNSsuffix(ifaces, ifacename) {
return dnsSuffix ;
} catch (error) {
console.log('Error getting Connection-specific DNS suffix: ', error.message);
return 'Unknow';
return 'Unknown';
}
}
@ -413,10 +413,10 @@ function getLinuxIfaceDHCPstatus(connectionName) {
}
return dhcStatus;
} catch (e) {
return 'Unknow';
return 'Unknown';
}
} else {
return 'Unknow';
return 'Unknown';
}
}
@ -429,10 +429,10 @@ function getLinuxIfaceDNSsuffix(connectionName) {
const dnsSuffix = resultFormat.split(" ").slice(1).toString();
return dnsSuffix == '--' ? '': dnsSuffix;
} catch (e) {
return 'Unknow';
return 'Unknown';
}
} else {
return 'Unknow';
return 'Unknown';
}
}
@ -603,7 +603,7 @@ function networkInterfaces(callback) {
if (iface === 'lo' || iface.startsWith('bond')) { type = 'virtual'; }
}
if (_windows) {
authProtocol = 'Unknow';
authProtocol = 'Unknown';
dnsSuffix = getWindowsIfaceDNSsuffix(dnsSuffixes.ifaces, dev);
nics.forEach(detail => {
if (detail.mac === mac) {