diff options
author | Jo-Philipp Wich <jow@openwrt.org> | 2011-07-07 10:28:31 +0000 |
---|---|---|
committer | Jo-Philipp Wich <jow@openwrt.org> | 2011-07-07 10:28:31 +0000 |
commit | 27aea2ff2da64dda645feeb60a9315d99b7824e5 (patch) | |
tree | 0d3edc46be56c672a1b724b5044b2dfac1d66707 /package/firewall/files | |
parent | a6bca512cc649ac42d67b95e5ee6db933ba1d0fa (diff) | |
download | upstream-27aea2ff2da64dda645feeb60a9315d99b7824e5.tar.gz upstream-27aea2ff2da64dda645feeb60a9315d99b7824e5.tar.bz2 upstream-27aea2ff2da64dda645feeb60a9315d99b7824e5.zip |
[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/firewall/files')
-rw-r--r-- | package/firewall/files/lib/core_redirect.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/package/firewall/files/lib/core_redirect.sh b/package/firewall/files/lib/core_redirect.sh index e8d5ceab03..a3e70d40d7 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 |