applications/luci-splash: Fix two problems with whitelisting clients
[project/luci.git] / applications / luci-splash / root / etc / init.d / luci_splash
index 45c4d382ad899cd1e09860aaedc98927c146172c..feefabd81aaea87ea33e6c4d159a39c811eb5f87 100755 (executable)
@@ -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
 }