Skip to content

Commit

Permalink
gobgp fixes
Browse files Browse the repository at this point in the history
TrekkieCoder committed Dec 6, 2023

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
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
@@ -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,
},
},
},
@@ -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
}

0 comments on commit a1b9f2d

Please sign in to comment.