summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-splash/root/etc
diff options
context:
space:
mode:
authorManuel Munz <freifunk@somakoma.de>2013-10-13 22:40:09 +0000
committerManuel Munz <freifunk@somakoma.de>2013-10-13 22:40:09 +0000
commit0c1f8b8aa31f34c0036bd798e5949188baa6d5b2 (patch)
tree222db55a6d88baaf881fc40770f142a3eed479ea /applications/luci-splash/root/etc
parent2aad24cec13cbc4765cbbc5502832184713b823f (diff)
applications/luci-splash: Fix two problems with whitelisting clients
Diffstat (limited to 'applications/luci-splash/root/etc')
-rwxr-xr-xapplications/luci-splash/root/etc/init.d/luci_splash2
1 files changed, 1 insertions, 1 deletions
diff --git a/applications/luci-splash/root/etc/init.d/luci_splash b/applications/luci-splash/root/etc/init.d/luci_splash
index 45c4d382ad..feefabd81a 100755
--- a/applications/luci-splash/root/etc/init.d/luci_splash
+++ b/applications/luci-splash/root/etc/init.d/luci_splash
@@ -114,7 +114,7 @@ whitelist_add() {
config_get mac "$1" mac
iface=$2
$TC filter add dev "$iface" parent ffff: protocol ip prio 1 u32 match ether src $mac police pass
- $TC filter add dev "$iface" parent 1:0 protocol ip prio 1 u32 match ether dst classid 1:1
+ $TC filter add dev "$iface" parent 1:0 protocol ip prio 1 u32 match ether dst $mac classid 1:1
}