From 115abfb7dc3ac5f8ede42c9bac823ee36b4f3777 Mon Sep 17 00:00:00 2001 From: Brian Date: Sun, 24 Jan 2021 23:19:21 -0500 Subject: [PATCH] replace nodenumber with network_number --- Omnitik5AC/rooftop-ospf.rsc.tmpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Omnitik5AC/rooftop-ospf.rsc.tmpl b/Omnitik5AC/rooftop-ospf.rsc.tmpl index c7dcbea..47006a0 100644 --- a/Omnitik5AC/rooftop-ospf.rsc.tmpl +++ b/Omnitik5AC/rooftop-ospf.rsc.tmpl @@ -1,6 +1,6 @@ # NYC Mesh Mikrotik Omnitik config # Omnitik 5ac -:global nodenumber {{nodenumber}} +:global nodenumber {{network_number}} :global cidr ("10." . ((96+(nodenumber>>10))+0) . "." . (((nodenumber>>2)&255)+0) . "." . (((nodenumber&3)<<6)+0) . "/26") :global ipthirdoctet ( [ :pick $nodenumber ([:len $nodenumber] - 5) ([:len $nodenumber] - 2) ] + 0 )