From 073e559dc54c1b9d198559e21e1ba57586c936ed Mon Sep 17 00:00:00 2001 From: Matthias Schiffer Date: Wed, 23 Feb 2022 19:10:13 +0100 Subject: [PATCH] gluon-mesh-babel: do not allow disabling VXLAN (#2376) With Babel, wired meshing cannot run on the same logical interface as non-mesh traffic, so using VXLAN is mandatory. --- package/gluon-mesh-babel/check_site.lua | 2 ++ 1 file changed, 2 insertions(+) diff --git a/package/gluon-mesh-babel/check_site.lua b/package/gluon-mesh-babel/check_site.lua index 5a7bf95a..acafaa6e 100644 --- a/package/gluon-mesh-babel/check_site.lua +++ b/package/gluon-mesh-babel/check_site.lua @@ -5,3 +5,5 @@ need_string_match(in_domain({'next_node', 'ip6'}), '^[%x:]+$', false) need_string_match(in_domain({'next_node', 'ip4'}), '^%d+.%d+.%d+.%d+$', false) need_string_match(in_domain({'next_node', 'mac'}), '^%x[02468aAcCeE]:%x%x:%x%x:%x%x:%x%x:%x%x$', false) + +need_value(in_domain({'mesh', 'vxlan'}), true, false)