removed nodefiles and added raise interface functionnality

This commit is contained in:
Marc
2022-02-21 10:12:32 +01:00
parent 8e7ef9143a
commit 9371b78d05
8 changed files with 141 additions and 40 deletions
+9 -1
View File
@@ -32,4 +32,12 @@ function setFlags(interface, flags) {
return ip.setFlags(interface, flags)
}
module.exports = { setFlags, flags }
/**
* @param { string } interface
* @returns { number }
*/
function getFlags(interface) {
return ip.getFlags(interface);
}
module.exports = { setFlags, getFlags, flags }