removed nodefiles and added raise interface functionnality
This commit is contained in:
@@ -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 }
|
||||
Reference in New Issue
Block a user