fix(core): update

This commit is contained in:
2019-09-08 14:59:47 +02:00
parent 9af53a5b58
commit bba219ddef
3 changed files with 10 additions and 9 deletions

View File

@ -129,11 +129,8 @@ export class SmartNetwork {
return result;
}
public async getDefaultGateway() {
const result = {
v4: await plugins.defaultGateway.v4(),
v6: await plugins.defaultGateway.v6()
};
public async getGateways() {
const result = plugins.os.networkInterfaces();
return result;
}
}