Changeset 7923
- Timestamp:
- 11/12/11 12:31:03 (19 months ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
luci/branches/luci-0.10/libs/core/luasrc/model/network.lua
r7845 r7923 1412 1412 1413 1413 function wifinet.get_network(self) 1414 if _uci_real:get("network", self.iwdata.network) == "interface" then 1415 return network(self.iwdata.network) 1414 local net = tostring(self.iwdata.network) 1415 if net and _uci_real:get("network", net) == "interface" then 1416 return network(net) 1416 1417 end 1417 1418 end
