From: Jo-Philipp Wich Date: Thu, 25 Jun 2009 21:28:19 +0000 (+0000) Subject: luci-0.9: merge r4928 X-Git-Tag: 0.9.0~181 X-Git-Url: http://207.154.207.93/?a=commitdiff_plain;h=a9830fad17a923d3910d46338e56ee1942220e1f;p=project%2Fluci.git luci-0.9: merge r4928 --- diff --git a/applications/luci-splash/root/etc/init.d/luci_splash b/applications/luci-splash/root/etc/init.d/luci_splash index 06b4408c6..dd688d77c 100755 --- a/applications/luci-splash/root/etc/init.d/luci_splash +++ b/applications/luci-splash/root/etc/init.d/luci_splash @@ -40,6 +40,9 @@ iface_add() { iptables -t nat -A prerouting_${zone} -j luci_splash_prerouting iptables -t nat -A luci_splash_prerouting -j luci_splash_portal + iptables -t filter -I luci_splash_filter -s ! "$NETWORK/$PREFIX" -j RETURN + iptables -t nat -I luci_splash_leases -s ! "$NETWORK/$PREFIX" -j RETURN + iptables -t filter -I luci_splash_filter -s "$NETWORK/$PREFIX" -d "$ipaddr/${netmask:-32}" -j RETURN iptables -t nat -I luci_splash_leases -s "$NETWORK/$PREFIX" -d "$ipaddr/${netmask:-32}" -j RETURN