Skip to content

Commit

Permalink
gobgp fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
TrekkieCoder committed Dec 6, 2023
1 parent 5d7a424 commit a1b9f2d
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions loxinet/gobgpclient.go
Original file line number Diff line number Diff line change
Expand Up @@ -311,7 +311,7 @@ func (gbh *GoBgpH) GetgoBGPRoutesEvents(client api.GobgpApiClient) int {
Table: &api.WatchEventRequest_Table{
Filters: []*api.WatchEventRequest_Table_Filter{
{
Type: api.WatchEventRequest_Table_Filter_ADJIN,
Type: api.WatchEventRequest_Table_Filter_BEST,
},
},
},
Expand Down Expand Up @@ -876,9 +876,9 @@ func (gbh *GoBgpH) resetNeighAdj() error {
}

for _, nb := range l {
if nb.Conf.PeerAsn != gbh.localAs {
gbh.resetSingleNeighAdj(nb.Conf.NeighborAddress)
}
//if nb.Conf.PeerAsn != gbh.localAs {
gbh.resetSingleNeighAdj(nb.Conf.NeighborAddress)
//}
}
return nil
}
Expand Down

0 comments on commit a1b9f2d

Please sign in to comment.