summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--package/firewall/Makefile2
-rw-r--r--package/firewall/files/lib/core_rule.sh2
2 files changed, 2 insertions, 2 deletions
diff --git a/package/firewall/Makefile b/package/firewall/Makefile
index b0b946f..8ce0295 100644
--- a/package/firewall/Makefile
+++ b/package/firewall/Makefile
@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=firewall
PKG_VERSION:=2
-PKG_RELEASE:=37
+PKG_RELEASE:=38
include $(INCLUDE_DIR)/package.mk
diff --git a/package/firewall/files/lib/core_rule.sh b/package/firewall/files/lib/core_rule.sh
index de8cd8e..f49c42a 100644
--- a/package/firewall/files/lib/core_rule.sh
+++ b/package/firewall/files/lib/core_rule.sh
@@ -59,7 +59,7 @@ fw_load_rule() {
fi
local mode
- fw_get_family_mode mode ${rule_family:-x} $rule_src I
+ fw_get_family_mode mode ${rule_family:-x} "$rule_src" I
local src_spec dest_spec
fw_get_negation src_spec '-s' "${rule_src_ip:+$rule_src_ip/$rule_src_ip_prefixlen}"