Merge r4239
authorJo-Philipp Wich <jow@openwrt.org>
Sun, 15 Feb 2009 00:05:00 +0000 (00:05 +0000)
committerJo-Philipp Wich <jow@openwrt.org>
Sun, 15 Feb 2009 00:05:00 +0000 (00:05 +0000)
applications/luci-ffwizard-leipzig/luasrc/model/cbi/ffwizard.lua

index b81e77d9d730c80a5d0fcfdc9bec7fd8cb1ea2fc..58e938492ae003076c9b80536be826666acd3c47 100644 (file)
@@ -353,6 +353,17 @@ function client.write(self, section, value)
        uci:section("dhcp", "dhcp", device .. "dhcp", dhcpbase)
        uci:save("dhcp")
 
+       uci:delete_all("firewall", "rule", {
+               src="freifunk",
+               proto="udp",
+               dest_port="53"
+       })
+       uci:section("firewall", "rule", nil, {
+               src="freifunk",
+               proto="udp",
+               src_port="53",
+               target="ACCEPT"
+       })
        uci:delete_all("firewall", "rule", {
                src="freifunk",
                proto="udp",