firewall: process custom rules after forwardings and redirects, this actually allows...
authorJo-Philipp Wich <jow@openwrt.org>
Sun, 19 Apr 2009 20:39:02 +0000 (20:39 +0000)
committerJo-Philipp Wich <jow@openwrt.org>
Sun, 19 Apr 2009 20:39:02 +0000 (20:39 +0000)
SVN-Revision: 15278

package/firewall/Makefile
package/firewall/files/uci_firewall.sh

index 7aa385511f76a32f4fbc875cfeb233728e59aff1..dfbef6106d28c8ab1b115ccabf1725dfad8659f5 100644 (file)
@@ -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
 
index f6fa82b9cb0a249c9b89b3724f235bcf47a1ad59..c197003595372804093f10d4ad0c92c42c8b94b4 100755 (executable)
@@ -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