Changeset 5953
- Timestamp:
- 03/27/10 18:42:00 (3 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
luci/branches/luci-0.9/modules/admin-full/luasrc/model/cbi/admin_network/vlan.lua
r5718 r5953 66 66 67 67 s.create = function(self, section) 68 local n = tonumber(section )68 local n = tonumber(section and section:match("(%d+)")) 69 69 if n ~= nil and n >= 0 then 70 70 local sn = "%s_%d" %{ x['.name'], n }
