bug fixes durch lede änderungen und jede domain hatte die gleiche mesh id

This commit is contained in:
Daniel Frank 2017-12-30 20:02:48 +01:00
parent 33d9a521ca
commit bd256ba6c0
2 changed files with 3 additions and 5 deletions

View file

@ -28,7 +28,7 @@
},
<% if gluon_ath10k_mesh == "11s" -%>
mesh = {
id = '6668682D73756564',
id = '<%= ("00000000" + site_code)[-8..-1].each_byte.map { |b| b.to_s(16) }.join.upcase %>',
mcast_rate = 12000,
},
<% else -%>
@ -47,7 +47,7 @@
},
<% if gluon_ath10k_mesh == "11s" -%>
mesh = {
id = '6668682D73756564',
id = '<%= ("00000000" + site_code)[-8..-1].each_byte.map { |b| b.to_s(16) }.join.upcase %>',
mcast_rate = 12000,
},
<% else -%>
@ -70,7 +70,7 @@
enabled = true,
mtu = <%= mtu %>,
fastd = {
configurable = true,
configurable = true,
methods = {'salsa2012+umac'},
groups = {
backbone = {