Changeset 7081

Show
Ignore:
Timestamp:
05/20/11 00:52:24 (2 years ago)
Author:
jow
Message:

luci-0.10: merge r7080

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • luci/branches/luci-0.10/modules/admin-full/luasrc/model/cbi/admin_network/vlan.lua

    r7079 r7081  
    2222        local has_ptpvid  = nil 
    2323        local has_jumbo3  = nil 
    24         local min_vid     = 1 
     24        local min_vid     = 0 
    2525        local max_vid     = 16 
    2626        local num_vlans   = 16 
     
    5555                    num_vlans = tonumber(num_vlans) or 16 
    5656                    cpu_port  = tonumber(cpu_port)  or  5 
     57                    min_vid   = 1 
    5758 
    5859                elseif line:match(": pvid") or line:match(": tag") or line:match(": vid") then 
     
    6970 
    7071            swc:close() 
    71  
    72         -- We have no swconfig, assume /proc/switch 
    73         else 
    74             min_vid = 0 
    7572        end 
    7673