Using DROP is bad behaviour, use REJECT instead

This commit is contained in:
Steven Barth 2009-01-25 13:30:24 +00:00
parent b0abe4aa08
commit 55f6cb895b

View 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)