[SEBA-885] Ability to restart EAPOL and DHCP if the state machine doesn't complete
Change-Id: I2f0c7be787ab9ca2ddf59deadaa6c789456cd3d4
diff --git a/cmd/bbr/bbr.go b/cmd/bbr/bbr.go
index 4a4ec91..4f9eb03 100644
--- a/cmd/bbr/bbr.go
+++ b/cmd/bbr/bbr.go
@@ -81,7 +81,7 @@
&apiDoneChannel,
true, // this parameter is not important in the BBR Case
true, // this parameter is not important in the BBR Case
- 0, // this parameter does not matter in the BBR case
+ 0, // this parameter does not matter in the BBR case
true,
)
oltMock := bbrdevices.OltMock{
diff --git a/cmd/bbsim/bbsim.go b/cmd/bbsim/bbsim.go
index eea4b95..74bda32 100644
--- a/cmd/bbsim/bbsim.go
+++ b/cmd/bbsim/bbsim.go
@@ -153,7 +153,7 @@
"TotalOnus": options.NumPonPerOlt * options.NumOnuPerPon,
"Auth": options.Auth,
"Dhcp": options.Dhcp,
- "Delay": options.Delay,
+ "Delay": options.Delay,
}).Info("BroadBand Simulator is on")
// control channels, they are only closed when the goroutine needs to be terminated
@@ -171,7 +171,6 @@
close(oltDoneChannel)
}()
-
wg := sync.WaitGroup{}
wg.Add(5)