Get default gateway

This commit is contained in:
Maria Camila Cubides
2021-05-04 12:02:22 -05:00
parent 9c1a6f47f7
commit f25bb4e25d
2 changed files with 24 additions and 9 deletions
+8
View File
@@ -0,0 +1,8 @@
const network = require('../lib/network');
async function getNetwork() {
console.log(await network.networkGatewayDefault());
}
getNetwork();