Adds companion interface to NetworkInterface

This commit is contained in:
Simone Mainardi 2019-05-03 11:08:50 +02:00
parent 9cfd5ba968
commit ba0273a3ff
6 changed files with 49 additions and 5 deletions

View file

@ -1469,7 +1469,7 @@ elseif(page == "config") then
</tr>]]
end
if false and not interface.isPacketInterface() then
if not interface.isPacketInterface() and not ifstats.isDynamic then
local cur_companion = companion_interface_utils.getCurrentCompanion(ifstats.id)
local companions = companion_interface_utils.getAvailableCompanions()