luci-app-firewall: drop_invalid is default on in OpenWrt now
[project/luci.git] / applications / luci-app-firewall / luasrc / model / cbi / firewall / zones.lua
index e6d8548..694bbd8 100644 (file)
@@ -1,16 +1,5 @@
---[[
-LuCI - Lua Configuration Interface
-
-Copyright 2008 Steven Barth <steven@midlink.org>
-
-Licensed under the Apache License, Version 2.0 (the "License");
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-       http://www.apache.org/licenses/LICENSE-2.0
-
-$Id$
-]]--
+-- Copyright 2008 Steven Barth <steven@midlink.org>
+-- Licensed to the public under the Apache License 2.0.
 
 local ds = require "luci.dispatcher"
 local fw = require "luci.model.firewall"
@@ -30,7 +19,7 @@ s.addremove = false
 s:option(Flag, "syn_flood", translate("Enable SYN-flood protection"))
 
 o = s:option(Flag, "drop_invalid", translate("Drop invalid packets"))
-o.default = o.disabled
+o.default = o.enabled
 
 p = {
        s:option(ListValue, "input", translate("Input")),