[package] firewall: revert processing order of redirects and rules, ensures that...
authorJo-Philipp Wich <jow@openwrt.org>
Sun, 18 Mar 2012 23:34:06 +0000 (23:34 +0000)
committerJo-Philipp Wich <jow@openwrt.org>
Sun, 18 Mar 2012 23:34:06 +0000 (23:34 +0000)
SVN-Revision: 31014

package/firewall/Makefile
package/firewall/files/lib/core.sh

index 791edca..373baae 100644 (file)
@@ -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
 
index 0297518..93d4d2e 100644 (file)
@@ -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