1
0
mirror of https://github.com/freifunk-gluon/packages.git synced 2024-06-14 11:13:55 +02:00
gluon-packages/gluon/gluon-simple-tc/check_site.lua
2014-07-16 17:31:40 +02:00

11 lines
284 B
Lua

local function check_entry(k, _)
local prefix = string.format('simple_tc[%q].', k)
need_string(prefix .. 'ifname')
need_boolean(prefix .. 'enabled')
need_number(prefix .. 'limit_egress')
need_number(prefix .. 'limit_ingress')
end
need_table('simple_tc', check_entry)