Show
Ignore:
Timestamp:
01/25/09 18:28:15 (4 years ago)
Author:
jow
Message:

modules/freifunk: display status of all non-encrypted wireless networks if no freifunk zone is defined

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • luci/trunk/modules/freifunk/luasrc/model/cbi/freifunk/public_status.lua

    r3952 r4128  
    4848 
    4949for k, v in pairs(wireless) do 
    50     if v[".type"] == "wifi-iface" and luci.util.contains(ffwifs, v.device) then 
     50    if v[".type"] == "wifi-iface" and ( 
     51        luci.util.contains(ffwifs, v.device) or 
     52        ( #ffwifs == 0 and (not v.encryption or v.encryption == "none") ) ) 
     53    then 
    5154        table.insert(ifaces, v) 
    5255    end