check_site.lua 365 B

1234567
  1. need_boolean(in_site({'mesh_vpn', 'enabled'}), false)
  2. need_number({'mesh_vpn', 'mtu'})
  3. need_boolean(in_site({'mesh_vpn', 'pubkey_privacy'}), false)
  4. need_boolean(in_site({'mesh_vpn', 'bandwidth_limit', 'enabled'}), false)
  5. need_number(in_site({'mesh_vpn', 'bandwidth_limit', 'ingress'}), false)
  6. need_number(in_site({'mesh_vpn', 'bandwidth_limit', 'egress'}), false)