diff options
-rw-r--r-- | protocols/6x4/luasrc/model/cbi/admin_network/proto_6to4.lua | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/protocols/6x4/luasrc/model/cbi/admin_network/proto_6to4.lua b/protocols/6x4/luasrc/model/cbi/admin_network/proto_6to4.lua index 60f5db7fa7..7258cbc918 100644 --- a/protocols/6x4/luasrc/model/cbi/admin_network/proto_6to4.lua +++ b/protocols/6x4/luasrc/model/cbi/admin_network/proto_6to4.lua @@ -32,6 +32,14 @@ adv_interface.nocreate = true adv_interface.nobridges = true adv_interface.novirtual = true +function adv_interface.write(self, section, value) + if type(value) == "table" then + Value.write(self, section, table.concat(value, " ")) + else + Value.write(self, section, value) + end +end + function adv_interface.remove(self, section) self:write(section, " ") end |