git.99rst.org
/
openwrt-luci.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
| inline |
side by side
(parent:
20e12be
)
proto/6x4: cast 6to4 adv_interface to string when saving to uci, fixes 6in4.sh not...
author
Jo-Philipp Wich
<redacted>
Sat, 11 Aug 2012 21:15:05 +0000
(21:15 +0000)
committer
Jo-Philipp Wich
<redacted>
Sat, 11 Aug 2012 21:15:05 +0000
(21:15 +0000)
protocols/6x4/luasrc/model/cbi/admin_network/proto_6to4.lua
patch
|
blob
|
history
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 60f5db7fa75c28b0455a9dc2191d1da4510ec2ce..7258cbc91801f71469fcb9293296854554eb7e4a 100644
(file)
--- 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
git clone https://git.99rst.org/PROJECT