diff options
author | Steven Barth <steven@midlink.org> | 2008-03-28 11:00:58 +0000 |
---|---|---|
committer | Steven Barth <steven@midlink.org> | 2008-03-28 11:00:58 +0000 |
commit | fb2a9a328d619ecf329e64cb500ff1385e3f8290 (patch) | |
tree | 1a87e35efbfe276d7dbf850fa53fe85578bdbbfe /src/ffluci/model | |
parent | 7e9c97808d27443d6d02a163d9ef0a8bc295f396 (diff) |
* CBI: Generalized templates
* admin > network > ifaces: Set default value for protocol allowing new sections to be created.
Diffstat (limited to 'src/ffluci/model')
-rw-r--r-- | src/ffluci/model/cbi/admin_network/ifaces.lua | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ffluci/model/cbi/admin_network/ifaces.lua b/src/ffluci/model/cbi/admin_network/ifaces.lua index 62e72462f8..aaabe653e4 100644 --- a/src/ffluci/model/cbi/admin_network/ifaces.lua +++ b/src/ffluci/model/cbi/admin_network/ifaces.lua @@ -10,6 +10,7 @@ s:depends("proto", "dhcp") p = s:option(ListValue, "proto", "Protokoll") p:value("static", "statisch") p:value("dhcp", "DHCP") +p.default = "static" s:option(Value, "ifname", "Schnittstelle") |