From 0c1f8b8aa31f34c0036bd798e5949188baa6d5b2 Mon Sep 17 00:00:00 2001 From: Manuel Munz Date: Sun, 13 Oct 2013 22:40:09 +0000 Subject: applications/luci-splash: Fix two problems with whitelisting clients --- applications/luci-splash/root/etc/init.d/luci_splash | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'applications/luci-splash/root/etc') 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 } -- cgit v1.2.3