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

Update fsm.go

cleanup
parent c4b502a3
No related branches found
No related tags found
No related merge requests found
...@@ -665,17 +665,6 @@ func (fsm *FSM) established() int { ...@@ -665,17 +665,6 @@ func (fsm *FSM) established() int {
fsm.rib.RegisterWithOptions(fsm.adjRIBOut, routingtable.ClientOptions{BestOnly: true}) fsm.rib.RegisterWithOptions(fsm.adjRIBOut, routingtable.ClientOptions{BestOnly: true})
/*go func() {
for {
time.Sleep(time.Second * 10)
fmt.Printf("Dumping AdjRibIn\n")
routes := fsm.adjRIBIn.RT().Dump()
for _, route := range routes {
fmt.Print(route.Print())
}
}
}()*/
go func() { go func() {
for { for {
fmt.Printf("ADJ-RIB-OUT: %s\n", fsm.remote.String()) fmt.Printf("ADJ-RIB-OUT: %s\n", fsm.remote.String())
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment