Fix grammar error
This commit is contained in:
parent
99fcedf0ee
commit
a4c27734ed
@ -289,7 +289,7 @@ function getWindowsIfaceDNSsuffix(ifaces, ifacename) {
|
|||||||
return dnsSuffix ;
|
return dnsSuffix ;
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
console.log('Error getting Connection-specific DNS suffix: ', error.message);
|
console.log('Error getting Connection-specific DNS suffix: ', error.message);
|
||||||
return 'Unknow';
|
return 'Unknown';
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -413,10 +413,10 @@ function getLinuxIfaceDHCPstatus(connectionName) {
|
|||||||
}
|
}
|
||||||
return dhcStatus;
|
return dhcStatus;
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
return 'Unknow';
|
return 'Unknown';
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
return 'Unknow';
|
return 'Unknown';
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -429,10 +429,10 @@ function getLinuxIfaceDNSsuffix(connectionName) {
|
|||||||
const dnsSuffix = resultFormat.split(" ").slice(1).toString();
|
const dnsSuffix = resultFormat.split(" ").slice(1).toString();
|
||||||
return dnsSuffix == '--' ? '': dnsSuffix;
|
return dnsSuffix == '--' ? '': dnsSuffix;
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
return 'Unknow';
|
return 'Unknown';
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
return 'Unknow';
|
return 'Unknown';
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -603,7 +603,7 @@ function networkInterfaces(callback) {
|
|||||||
if (iface === 'lo' || iface.startsWith('bond')) { type = 'virtual'; }
|
if (iface === 'lo' || iface.startsWith('bond')) { type = 'virtual'; }
|
||||||
}
|
}
|
||||||
if (_windows) {
|
if (_windows) {
|
||||||
authProtocol = 'Unknow';
|
authProtocol = 'Unknown';
|
||||||
dnsSuffix = getWindowsIfaceDNSsuffix(dnsSuffixes.ifaces, dev);
|
dnsSuffix = getWindowsIfaceDNSsuffix(dnsSuffixes.ifaces, dev);
|
||||||
nics.forEach(detail => {
|
nics.forEach(detail => {
|
||||||
if (detail.mac === mac) {
|
if (detail.mac === mac) {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user