Testing correct DNS get by name
This commit is contained in:
parent
a66fffbba7
commit
d04af38c44
@ -279,6 +279,8 @@ function getWindowsDNSsuffixes() {
|
||||
function getWindowsIfaceDNSsuffix(ifaces, ifacename) {
|
||||
let dnsSuffix = '';
|
||||
try {
|
||||
console.log('aca vamos', ifaces);
|
||||
console.log(ifacename);
|
||||
const connectionDnsSuffix = ifaces.filter((iface) => {
|
||||
return ifacename.includes(iface.name);
|
||||
}).map((iface) => iface.dnsSuffix);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user