summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2013-02-22 13:45:20 +0000
committerJo-Philipp Wich <jow@openwrt.org>2013-02-22 13:45:20 +0000
commit92062542e21d4451d88b283e0f9673fe79aeb81a (patch)
tree315515968ac87c19374b4d05a7f5b2cc3a685bc3
parent4fb2cd18c19821c7f8f7f5124ce5061d4405bf32 (diff)
downloadmtk-20170518-92062542e21d4451d88b283e0f9673fe79aeb81a.zip
mtk-20170518-92062542e21d4451d88b283e0f9673fe79aeb81a.tar.gz
mtk-20170518-92062542e21d4451d88b283e0f9673fe79aeb81a.tar.bz2
firewall: fix logging rule regression (#12999)
SVN-Revision: 35745
-rw-r--r--package/network/config/firewall/Makefile2
-rw-r--r--package/network/config/firewall/files/lib/core_init.sh2
2 files changed, 2 insertions, 2 deletions
diff --git a/package/network/config/firewall/Makefile b/package/network/config/firewall/Makefile
index f97ac8d..998b274 100644
--- a/package/network/config/firewall/Makefile
+++ b/package/network/config/firewall/Makefile
@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=firewall
PKG_VERSION:=2
-PKG_RELEASE:=58
+PKG_RELEASE:=59
include $(INCLUDE_DIR)/package.mk
diff --git a/package/network/config/firewall/files/lib/core_init.sh b/package/network/config/firewall/files/lib/core_init.sh
index d1cad71..404a836 100644
--- a/package/network/config/firewall/files/lib/core_init.sh
+++ b/package/network/config/firewall/files/lib/core_init.sh
@@ -251,7 +251,7 @@ fw_load_zone() {
local d
for d in src dest; do
fw add $mode f ${chain}_${d}_${t} LOG ^ \
- { -m limit --limit $zone_log_limit --log-prefix "$t($d $zone_name): " }
+ { -m limit --limit $zone_log_limit --log-prefix "$t($d:$zone_name): " }
done
done