From a92ed1808c41bb8dfac0836aeefcbca8891c715c Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Thu, 7 Jul 2011 10:28:31 +0000 Subject: firewall: make sure that -m mac is used with --mac-source, follow up to r27508 SVN-Revision: 27519 --- package/firewall/files/lib/core_redirect.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'package/firewall/files/lib') 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 -- cgit v1.2.3