fixup! gluon-luci-portconfig: protconfig.lua: change spaces to tabs
This commit is contained in:
parent
a963604f56
commit
17dc924c7c
@ -94,10 +94,6 @@ if sysconfig.lan_ifname then
|
|||||||
o.rmempty = false
|
o.rmempty = false
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
if uci:get('system', 'gpio_switch_poe_passthrough') then
|
if uci:get('system', 'gpio_switch_poe_passthrough') then
|
||||||
s = f:section(SimpleSection, nil, nil)
|
s = f:section(SimpleSection, nil, nil)
|
||||||
o = s:option(Flag, "poe_passthrough", translate("Enable PoE passthrough"))
|
o = s:option(Flag, "poe_passthrough", translate("Enable PoE passthrough"))
|
||||||
@ -105,7 +101,6 @@ if uci:get('system', 'gpio_switch_poe_passthrough') then
|
|||||||
o.rmempty = false
|
o.rmempty = false
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
||||||
function f.handle(self, state, data)
|
function f.handle(self, state, data)
|
||||||
if state == FORM_VALID then
|
if state == FORM_VALID then
|
||||||
uci:set("network", "wan", "proto", data.ipv4)
|
uci:set("network", "wan", "proto", data.ipv4)
|
||||||
|
Loading…
Reference in New Issue
Block a user