From cacb52e19f81e1a622bba4316b8f6feb2f99eb00 Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Sun, 19 Apr 2009 20:39:02 +0000 Subject: firewall: process custom rules after forwardings and redirects, this actually allows blocking traffic to certain hosts and other rules SVN-Revision: 15278 --- package/firewall/Makefile | 2 +- package/firewall/files/uci_firewall.sh | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'package/firewall') diff --git a/package/firewall/Makefile b/package/firewall/Makefile index 7aa385511f..dfbef6106d 100644 --- a/package/firewall/Makefile +++ b/package/firewall/Makefile @@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=firewall PKG_VERSION:=1 -PKG_RELEASE:=2 +PKG_RELEASE:=3 include $(INCLUDE_DIR)/package.mk diff --git a/package/firewall/files/uci_firewall.sh b/package/firewall/files/uci_firewall.sh index f6fa82b9cb..c197003595 100755 --- a/package/firewall/files/uci_firewall.sh +++ b/package/firewall/files/uci_firewall.sh @@ -401,12 +401,12 @@ fw_init() { config_foreach fw_defaults defaults echo "Loading zones" config_foreach fw_zone zone - echo "Loading rules" - config_foreach fw_rule rule echo "Loading forwarding" config_foreach fw_forwarding forwarding echo "Loading redirects" config_foreach fw_redirect redirect + echo "Loading rules" + config_foreach fw_rule rule echo "Loading includes" config_foreach fw_include include uci_set_state firewall core loaded 1 -- cgit v1.2.3