summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-ffwizard-leipzig/luasrc/model/cbi/ffwizard.lua
diff options
context:
space:
mode:
authorSteven Barth <steven@midlink.org>2009-01-25 13:30:24 +0000
committerSteven Barth <steven@midlink.org>2009-01-25 13:30:24 +0000
commit55f6cb895b288424df57f0162a23ed3106908024 (patch)
treefaed991b7b5650203e8efa98ea9fc5de4f42957b /applications/luci-ffwizard-leipzig/luasrc/model/cbi/ffwizard.lua
parentb0abe4aa08517b4bab745d3638c538c16f2fa806 (diff)
Using DROP is bad behaviour, use REJECT instead
Diffstat (limited to 'applications/luci-ffwizard-leipzig/luasrc/model/cbi/ffwizard.lua')
-rw-r--r--applications/luci-ffwizard-leipzig/luasrc/model/cbi/ffwizard.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/applications/luci-ffwizard-leipzig/luasrc/model/cbi/ffwizard.lua b/applications/luci-ffwizard-leipzig/luasrc/model/cbi/ffwizard.lua
index 053df036a9..827bc14b7f 100644
--- a/applications/luci-ffwizard-leipzig/luasrc/model/cbi/ffwizard.lua
+++ b/applications/luci-ffwizard-leipzig/luasrc/model/cbi/ffwizard.lua
@@ -172,7 +172,7 @@ function main.write(self, section, value)
uci:save("wireless")
-- Create firewall zone and add default rules (first time)
- local newzone = tools.firewall_create_zone("freifunk", "DROP", "ACCEPT", "DROP", true)
+ local newzone = tools.firewall_create_zone("freifunk", "REJECT", "ACCEPT", "REJECT", true)
if newzone then
uci:foreach("freifunk", "fw_forwarding", function(section)
uci:section("firewall", "forwarding", nil, section)