Skip to content
Snippets Groups Projects
Commit 951fd742 authored by takt's avatar takt Committed by Daniel Czerwonk
Browse files

Fix init/uninit (#213)

parent 89920a8c
No related branches found
No related tags found
No related merge requests found
......@@ -84,6 +84,8 @@ func (f *fsmAddressFamily) bmpInit() {
if f.rib != nil {
f.adjRIBIn.Register(f.rib)
}
f.initialized = true
}
func (f *fsmAddressFamily) bmpDispose() {
......
......@@ -108,6 +108,8 @@ func (s *establishedState) uninit() {
}
s.fsm.counters.reset()
s.fsm.ribsInitialized = false
}
func (s *establishedState) manualStop() (state, string) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment