modules/admin-full: Updated VLAN configuration page
authorSteven Barth <steven@midlink.org>
Thu, 14 Aug 2008 11:49:36 +0000 (11:49 +0000)
committerSteven Barth <steven@midlink.org>
Thu, 14 Aug 2008 11:49:36 +0000 (11:49 +0000)
modules/admin-full/luasrc/model/cbi/admin_network/vlan.lua

index 8cae7f94b81eff2f19a93523a8aa9dc253e88580..5e3229b1b44b1d510cc464b5559a51fe013f17f6 100644 (file)
@@ -16,7 +16,7 @@ m = Map("network", translate("a_n_switch"), translate("a_n_switch1"))
 s = m:section(TypedSection, "switch", "")
 
 for i = 0, 15 do
-       s:option(Value, "vlan"..i, "vlan"..i).optional = true
+       s:option(Value, "vlan"..i, "ethX."..i).optional = true
 end
 
 return m
\ No newline at end of file