fixup! gluon-luci-portconfig: protconfig.lua: change spaces to tabs

This commit is contained in:
Christof Schulze 2016-12-30 17:11:01 +01:00
parent a963604f56
commit 17dc924c7c

View File

@ -94,10 +94,6 @@ if sysconfig.lan_ifname then
o.rmempty = false
end
if uci:get('system', 'gpio_switch_poe_passthrough') then
s = f:section(SimpleSection, nil, nil)
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
end
function f.handle(self, state, data)
if state == FORM_VALID then
uci:set("network", "wan", "proto", data.ipv4)