fix(core): update

This commit is contained in:
Philipp Kunz 2019-09-06 18:28:39 +02:00
parent 8f71c68d8c
commit f105cdc806
3 changed files with 3 additions and 3 deletions

View File

@ -38,4 +38,4 @@
"npmextra.json", "npmextra.json",
"readme.md" "readme.md"
] ]
} }

View File

@ -27,6 +27,6 @@ tap.test('should scan a port', async () => {
tap.test('should get the default gateways', async () => { tap.test('should get the default gateways', async () => {
const gatewayResult = await testSmartNetwork.getDefaultGateway(); const gatewayResult = await testSmartNetwork.getDefaultGateway();
console.log(gatewayResult); console.log(gatewayResult);
}) });
tap.start(); tap.start();

View File

@ -130,7 +130,7 @@ export class SmartNetwork {
} }
public async getDefaultGateway() { public async getDefaultGateway() {
const result = { const result = {
v4: await plugins.defaultGateway.v4(), v4: await plugins.defaultGateway.v4(),
v6: await plugins.defaultGateway.v6() v6: await plugins.defaultGateway.v6()
}; };