firewall: revert processing order of redirects and rules, ensures that rules can be used to filter before redirects are reached

SVN-Revision: 31014
master
Jo-Philipp Wich 13 years ago
parent 6ac12fbb3c
commit d74c6ce7c5
  1. 2
      package/firewall/Makefile
  2. 6
      package/firewall/files/lib/core.sh

@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=firewall
PKG_VERSION:=2
PKG_RELEASE:=48
PKG_RELEASE:=49
include $(INCLUDE_DIR)/package.mk

@ -30,12 +30,12 @@ fw_start() {
echo "Loading forwardings"
config_foreach fw_load_forwarding forwarding
echo "Loading redirects"
config_foreach fw_load_redirect redirect
echo "Loading rules"
config_foreach fw_load_rule rule
echo "Loading redirects"
config_foreach fw_load_redirect redirect
echo "Loading includes"
config_foreach fw_load_include include

Loading…
Cancel
Save