projects
/
project
/
luci.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
* Fixed DHCP configuration for devices without WAN interface
[project/luci.git]
/
module
/
admin-core
/
src
/
model
/
cbi
/
admin_network
/
dhcp.lua
diff --git
a/module/admin-core/src/model/cbi/admin_network/dhcp.lua
b/module/admin-core/src/model/cbi/admin_network/dhcp.lua
index
766d87d
..
c8f1007
100644
(file)
--- a/
module/admin-core/src/model/cbi/admin_network/dhcp.lua
+++ b/
module/admin-core/src/model/cbi/admin_network/dhcp.lua
@@
-13,6
+13,7
@@
iface = s:option(ListValue, "interface", "Schnittstelle")
for k, v in pairs(ffluci.model.uci.show("network").network) do
if v[".type"] == "interface" and k ~= "loopback" then
iface:value(k)
+ s:depends("interface", k) -- Only change sections with existing interfaces
end
end