IPTraffic/webUI: check/validate minimum size of LAN/subnets only when cstats is enabled
commitb8e25e1cfd99bb7d431646be914dcc67a8b1f6ec
authorAugusto Bott <augusto@bott.com.br>
Fri, 30 Mar 2012 09:38:24 +0000 (30 06:38 -0300)
committerAugusto Bott <augusto@bott.com.br>
Fri, 30 Mar 2012 09:38:24 +0000 (30 06:38 -0300)
tree2464a82e4d729c35bd154f5ca63b418fe5b143a7
parent8e13507d31668eaa873512bf8a6c88d0aea91b41
IPTraffic/webUI: check/validate minimum size of LAN/subnets only when cstats is enabled

* limit/restrict max size for LAN/subnets on basic-network.asp should only be enforced when IPTraffic/cstats is enabled
* the ipt-account iptables module/match requires LAN subnets to have at least 16 bits set (i.e. class B/equivalent or smaller subnets can be monitored)
* see http://tomatousb.org/forum/t-447639/netmask-must-have-at-least-22-bits-set
* added "Notes" section on admin-iptraffic.asp
release/src/router/www/admin-iptraffic.asp
release/src/router/www/basic-network.asp