Ver Fonte

pkg/mesh/mesh.go: actually add resync period

resync period was not added to mesh struct.

Signed-off-by: leonnicolas <leonloechner@gmx.de>
leonnicolas há 5 anos atrás
pai
commit
db62b273c0
1 ficheiros alterados com 1 adições e 0 exclusões
  1. 1 0
      pkg/mesh/mesh.go

+ 1 - 0
pkg/mesh/mesh.go

@@ -166,6 +166,7 @@ func New(backend Backend, enc encapsulation.Encapsulator, granularity Granularit
 		priv:         private,
 		priv:         private,
 		privIface:    privIface,
 		privIface:    privIface,
 		pub:          public,
 		pub:          public,
+		resyncPeriod: resyncPeriod,
 		local:        local,
 		local:        local,
 		stop:         make(chan struct{}),
 		stop:         make(chan struct{}),
 		subnet:       subnet,
 		subnet:       subnet,