summaryrefslogtreecommitdiffstats
path: root/package
diff options
context:
space:
mode:
authorjow <jow@3c298f89-4303-0410-b956-a3cf2f4a3e73>2011-07-07 10:28:31 +0000
committerjow <jow@3c298f89-4303-0410-b956-a3cf2f4a3e73>2011-07-07 10:28:31 +0000
commitfb73402d37d0e26c53c352649e5d4465c614aafc (patch)
tree0d3edc46be56c672a1b724b5044b2dfac1d66707 /package
parenta720db70de4a5e398ee188c8a5bc32b14d682020 (diff)
[package] firewall: make sure that -m mac is used with --mac-source, follow up to r27508
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27519 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package')
-rw-r--r--package/firewall/Makefile2
-rw-r--r--package/firewall/files/lib/core_redirect.sh2
2 files changed, 2 insertions, 2 deletions
diff --git a/package/firewall/Makefile b/package/firewall/Makefile
index 50b916a58..b14de0809 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:=29
+PKG_RELEASE:=30
include $(INCLUDE_DIR)/package.mk
diff --git a/package/firewall/files/lib/core_redirect.sh b/package/firewall/files/lib/core_redirect.sh
index e8d5ceab0..a3e70d40d 100644
--- a/package/firewall/files/lib/core_redirect.sh
+++ b/package/firewall/files/lib/core_redirect.sh
@@ -109,7 +109,7 @@ fw_load_redirect() {
$srcaddr ${destaddr:--m conntrack --ctstate DNAT} \
$pr \
$srcports $destports \
- $sm \
+ ${sm:+-m mac $sm} \
$redirect_extra \
}
done