EFForg/OpenWireless

On dashboard page device counts under PrivateWiFi and LAN are not always correct.

Rangak opened this issue · 1 comments

On dashboard page device counts under PrivateWiFi and LAN are not always correct.

This was caused because count was based on information returned by iptaccount. Changed device count computation so it is based on dhcp lease information. DHCP leases have 24h lifetimes, so the
count will tend to overestimate the number of devices actively connected to the router. Despite that use of DHCP lease information now provides a consistent meaning to the count. In the future look into estimating device count based on recent activity rather than DHCP lease information.