mirror of
https://github.com/hak5/wifipineapple-openwrt.git
synced 2025-10-29 16:57:19 +00:00
[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
This commit is contained in:
parent
a6bca512cc
commit
27aea2ff2d
@ -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
|
||||
|
||||
|
||||
@ -109,7 +109,7 @@ fw_load_redirect() {
|
||||
$srcaddr ${destaddr:--m conntrack --ctstate DNAT} \
|
||||
$pr \
|
||||
$srcports $destports \
|
||||
$sm \
|
||||
${sm:+-m mac $sm} \
|
||||
$redirect_extra \
|
||||
}
|
||||
done
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user