summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2010-05-05 01:43:08 +0000
committerJo-Philipp Wich <jow@openwrt.org>2010-05-05 01:43:08 +0000
commit3c2149a759385332862b1eec7acae7f8d6d3c873 (patch)
tree878c543516a840a3ec5988d80ed09b7b6be92a84
parentffbff1a43cbde8d908a9fbc625f83e3bcff681cd (diff)
downloadmtk-20170518-3c2149a759385332862b1eec7acae7f8d6d3c873.zip
mtk-20170518-3c2149a759385332862b1eec7acae7f8d6d3c873.tar.gz
mtk-20170518-3c2149a759385332862b1eec7acae7f8d6d3c873.tar.bz2
firewall: fix bug in iface hotplug handler
SVN-Revision: 21360
-rw-r--r--package/firewall/files/firewall.hotplug2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/firewall/files/firewall.hotplug b/package/firewall/files/firewall.hotplug
index fa5643a..e9d167b 100644
--- a/package/firewall/files/firewall.hotplug
+++ b/package/firewall/files/firewall.hotplug
@@ -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)