summaryrefslogtreecommitdiffhomepage
path: root/protocols
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2011-12-26 16:11:15 +0000
committerJo-Philipp Wich <jow@openwrt.org>2011-12-26 16:11:15 +0000
commit33e088dd9d84edecca2df8d2682260d55ea9056a (patch)
treeceea89c29a8149cd24f82ea368c9b269548ad37e /protocols
parent5b948f58ca6433f841eb613de48284a40f7dbd6f (diff)
protocols/6x4: fix turning off 6ro4 advertising on all interfaces
Diffstat (limited to 'protocols')
-rw-r--r--protocols/6x4/luasrc/model/cbi/admin_network/proto_6to4.lua3
1 files changed, 3 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 d10ab089c..60f5db7fa 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,9 @@ adv_interface.nocreate = true
adv_interface.nobridges = true
adv_interface.novirtual = true
+function adv_interface.remove(self, section)
+ self:write(section, " ")
+end
adv_subnet = section:taboption("general", Value, "adv_subnet",
translate("Advertised network ID"),