gluon/package/gluon-next-node/check_site.lua
2014-07-05 02:48:56 +02:00

5 lines
185 B
Lua

need_string_match('next_node.ip4', '^%d+.%d+.%d+.%d+$')
need_string_match('next_node.ip6', '^[%x:]+$')
need_string_match('next_node.mac', '^%x[02468aAcCeE]:%x%x:%x%x:%x%x:%x%x:%x%x$')