summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-coovachilli/luasrc/model/cbi
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2008-09-25 00:42:55 +0000
committerJo-Philipp Wich <jow@openwrt.org>2008-09-25 00:42:55 +0000
commit647762d2d92865254514f144be4c2be63cadcdc5 (patch)
treeccf67ba33c5b8ce10856742646e23384c2bdb03f /applications/luci-coovachilli/luasrc/model/cbi
parent643b068e237349f06e45ad5beafbb69f0c23908d (diff)
* luci/app/coovachilly: cbi model fixes, extended scheme
Diffstat (limited to 'applications/luci-coovachilli/luasrc/model/cbi')
-rw-r--r--applications/luci-coovachilli/luasrc/model/cbi/coovachilli_auth.lua2
-rw-r--r--applications/luci-coovachilli/luasrc/model/cbi/coovachilli_network.lua2
-rw-r--r--applications/luci-coovachilli/luasrc/model/cbi/coovachilli_radius.lua2
3 files changed, 3 insertions, 3 deletions
diff --git a/applications/luci-coovachilli/luasrc/model/cbi/coovachilli_auth.lua b/applications/luci-coovachilli/luasrc/model/cbi/coovachilli_auth.lua
index 33c6efeded..eb61519968 100644
--- a/applications/luci-coovachilli/luasrc/model/cbi/coovachilli_auth.lua
+++ b/applications/luci-coovachilli/luasrc/model/cbi/coovachilli_auth.lua
@@ -35,7 +35,7 @@ s1:option( Value, "uamhomepage" ).optional = true
s1:option( Value, "uamlisten" ).optional = true
s1:option( Value, "uamport" ).optional = true
s1:option( Value, "uamiport" ).optional = true
-s1:option( Value, "uamdomain" ).optional = true
+s1:option( DynamicList, "uamdomain" ).optional = true
s1:option( Value, "uamlogoutip" ).optional = true
s1:option( DynamicList, "uamallowed" ).optional = true
s1:option( Value, "uamui" ).optional = true
diff --git a/applications/luci-coovachilli/luasrc/model/cbi/coovachilli_network.lua b/applications/luci-coovachilli/luasrc/model/cbi/coovachilli_network.lua
index 2209a52302..e3351ab000 100644
--- a/applications/luci-coovachilli/luasrc/model/cbi/coovachilli_network.lua
+++ b/applications/luci-coovachilli/luasrc/model/cbi/coovachilli_network.lua
@@ -67,5 +67,7 @@ s2:option( Value, "lease" ).optional = true
s2:option( Value, "dhcpstart" ).optional = true
s2:option( Value, "dhcpend" ).optional = true
+s2:option( Flag, "eapolenable" )
+
return m
diff --git a/applications/luci-coovachilli/luasrc/model/cbi/coovachilli_radius.lua b/applications/luci-coovachilli/luasrc/model/cbi/coovachilli_radius.lua
index 195a8cc87e..ee838b0864 100644
--- a/applications/luci-coovachilli/luasrc/model/cbi/coovachilli_radius.lua
+++ b/applications/luci-coovachilli/luasrc/model/cbi/coovachilli_radius.lua
@@ -52,8 +52,6 @@ s1:option( Flag, "acctupdate" )
s1:option( Value, "coaport" ).optional = true
s1:option( Flag, "coanoipcheck" )
-s1:option( Flag, "eapolenable" ).optional = true
-
-- radius proxy
s2 = m:section(TypedSection, "proxy")