1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2025-04-21 12:27:27 +03:00

[package] firewall:

- notrack support was broken in multiple ways, fix it
	- also consider a zone conntracked if any redirect references it (#7196)


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22215 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
jow
2010-07-15 22:01:48 +00:00
parent 6236135893
commit e3060b618d
5 changed files with 11 additions and 9 deletions

View File

@@ -228,13 +228,12 @@ fw_load_zone() {
}
fw_load_notrack_zone() {
list_contains FW_CONNTRACK_ZONES "$1" && return
fw_config_get_zone "$1"
list_contains FW_CONNTRACK_ZONES "${zone_name}" && return
fw_callback pre notrack
fw add i f zone_${zone_name}_notrack NOTRACK $
fw add i r zone_${zone_name}_notrack NOTRACK $
fw_callback post notrack
}