Skip to content

Commit

Permalink
replace nodenumber with network_number
Browse files Browse the repository at this point in the history
  • Loading branch information
bhny authored Jan 25, 2021
1 parent fc81a56 commit 115abfb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Omnitik5AC/rooftop-ospf.rsc.tmpl
Original file line number Diff line number Diff line change
@@ -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 )
Expand Down

0 comments on commit 115abfb

Please sign in to comment.