mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-20 14:13:16 +00:00
firewall: make sure that -m mac is used with --mac-source, follow up to r27508
SVN-Revision: 27519
This commit is contained in:
parent
b15f8f765a
commit
a92ed1808c
@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
|
|||||||
PKG_NAME:=firewall
|
PKG_NAME:=firewall
|
||||||
|
|
||||||
PKG_VERSION:=2
|
PKG_VERSION:=2
|
||||||
PKG_RELEASE:=29
|
PKG_RELEASE:=30
|
||||||
|
|
||||||
include $(INCLUDE_DIR)/package.mk
|
include $(INCLUDE_DIR)/package.mk
|
||||||
|
|
||||||
|
@ -109,7 +109,7 @@ fw_load_redirect() {
|
|||||||
$srcaddr ${destaddr:--m conntrack --ctstate DNAT} \
|
$srcaddr ${destaddr:--m conntrack --ctstate DNAT} \
|
||||||
$pr \
|
$pr \
|
||||||
$srcports $destports \
|
$srcports $destports \
|
||||||
$sm \
|
${sm:+-m mac $sm} \
|
||||||
$redirect_extra \
|
$redirect_extra \
|
||||||
}
|
}
|
||||||
done
|
done
|
||||||
|
Loading…
Reference in New Issue
Block a user