protocols/6x4: fix turning off 6ro4 advertising on all interfaces
authorJo-Philipp Wich <jow@openwrt.org>
Mon, 26 Dec 2011 16:11:15 +0000 (16:11 +0000)
committerJo-Philipp Wich <jow@openwrt.org>
Mon, 26 Dec 2011 16:11:15 +0000 (16:11 +0000)
protocols/6x4/luasrc/model/cbi/admin_network/proto_6to4.lua

index d10ab089cbbf3c0c79e219a9d81e379362a7844f..60f5db7fa75c28b0455a9dc2191d1da4510ec2ce 100644 (file)
@@ -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"),