add multicast on all NICs

This commit is contained in:
sparks-alec
2023-01-04 22:44:01 -05:00
parent e0eb2cfaaf
commit c5f79f5a50
3 changed files with 33 additions and 12 deletions
+4
View File
@@ -7,6 +7,7 @@ const _ = require('lodash');
const PLUGINS = require('./plugins.js');
const VIEW = require('./view.js');
const SAVESLOTS = require('./saveSlots.js');
const SEARCH = require('./search.js');
const devices = {};
module.exports.all = devices;
@@ -63,6 +64,9 @@ function registerDevice(newDevice) {
this.draw();
}
},
getNetworkInterfaces() {
return SEARCH.getNetworkInterfaces();
},
};
devices[id].plugin = PLUGINS.all[newDevice.type];