Using DROP is bad behaviour, use REJECT instead
authorSteven Barth <steven@midlink.org>
Sun, 25 Jan 2009 13:30:24 +0000 (13:30 +0000)
committerSteven Barth <steven@midlink.org>
Sun, 25 Jan 2009 13:30:24 +0000 (13:30 +0000)
applications/luci-ffwizard-leipzig/luasrc/model/cbi/ffwizard.lua

index 053df036a9c1182e45f0f0f26a5f87a1f72f6221..827bc14b7f86f95ab7e5f0d50f55abfbf0b7d64e 100644 (file)
@@ -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)