4 lines
147 B
Lua
4 lines
147 B
Lua
|
need_string({'syslog', 'ip'}, true)
|
||
|
need_number_range({'syslog', 'port'}, 1, 65535, false)
|
||
|
need_one_of({'syslog', 'proto'}, {'tcp', 'udp'}, false)
|