firewall: fix bug in iface hotplug handler
authorJo-Philipp Wich <jow@openwrt.org>
Wed, 5 May 2010 01:43:08 +0000 (01:43 +0000)
committerJo-Philipp Wich <jow@openwrt.org>
Wed, 5 May 2010 01:43:08 +0000 (01:43 +0000)
SVN-Revision: 21360

package/firewall/files/firewall.hotplug

index fa5643a2bf39f450e2ba3a9495a5d081134a2528..e9d167b79df2c23499c4d4d7ade447208d4fb543 100644 (file)
@@ -8,8 +8,8 @@
 [ "$DEVICE" == "lo" ] && exit 0
 
 . /lib/firewall/core.sh
-fw_is_loaded || exit 0
 fw_init
+fw_is_loaded || exit 0
 
 case "$ACTION" in
        ifup)