* CBI: improvements, bug fixes
[project/luci.git] / src / ffluci / model / cbi / admin_network / ifaces.lua
index aaabe65..193f83f 100644 (file)
@@ -12,6 +12,10 @@ p:value("static", "statisch")
 p:value("dhcp", "DHCP")
 p.default = "static"
 
+br = s:option(Flag, "type", "Netzwerkbrücke", "überbrückt angegebene Schnittstelle(n)")
+br.enabled = "bridge"
+br.rmempty = true
+
 s:option(Value, "ifname", "Schnittstelle")
 
 s:option(Value, "ipaddr", "IP-Adresse")
@@ -30,4 +34,7 @@ mtu = s:option(Value, "mtu", "MTU")
 mtu.optional = true
 mtu.isinteger = true
 
+mac = s:option(Value, "macaddr", "MAC-Adresse")
+mac.optional = true
+
 return m
\ No newline at end of file