Changeset 7081
- Timestamp:
- 05/20/11 00:52:24 (2 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
luci/branches/luci-0.10/modules/admin-full/luasrc/model/cbi/admin_network/vlan.lua
r7079 r7081 22 22 local has_ptpvid = nil 23 23 local has_jumbo3 = nil 24 local min_vid = 124 local min_vid = 0 25 25 local max_vid = 16 26 26 local num_vlans = 16 … … 55 55 num_vlans = tonumber(num_vlans) or 16 56 56 cpu_port = tonumber(cpu_port) or 5 57 min_vid = 1 57 58 58 59 elseif line:match(": pvid") or line:match(": tag") or line:match(": vid") then … … 69 70 70 71 swc:close() 71 72 -- We have no swconfig, assume /proc/switch73 else74 min_vid = 075 72 end 76 73
