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 b81e77d..58e9384 100644 (file)
@@ -356,6 +356,17 @@ function client.write(self, section, value)
        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",
                src_port="68",
                dest_port="67"
        })