Skip to content
Snippets Groups Projects
Unverified Commit 1013e996 authored by Daniel Czerwonk's avatar Daniel Czerwonk Committed by GitHub
Browse files

Merge pull request #22 from bio-routing/fixfsm

Changing BGP server to restart automatically
parents 79b9961b b59b30c5
No related branches found
No related tags found
No related merge requests found
...@@ -73,5 +73,9 @@ func (p *Peer) GetASN() uint32 { ...@@ -73,5 +73,9 @@ func (p *Peer) GetASN() uint32 {
func (p *Peer) Start() { func (p *Peer) Start() {
p.fsm.start() p.fsm.start()
p.fsm.activate() go func() {
for {
p.fsm.activate()
}
}()
} }
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment