Skip to content
Snippets Groups Projects
Commit 827dbfbf authored by Daniel Czerwonk's avatar Daniel Czerwonk
Browse files

bulid fix

parent 9e5e1b31
No related branches found
No related tags found
No related merge requests found
......@@ -84,7 +84,7 @@ func (nr *NetlinkReader) addPathsToClients(routes []netlink.Route) {
advertise := route.NetlinkRouteDiff(routes, nr.routes)
nr.mu.RUnlock()
for _, client := range nr.ClientManager.Clients() {
for _, client := range nr.clientManager.Clients() {
for _, r := range advertise {
if isBioRoute(r) {
log.WithFields(routeLogFields(r)).Debug("Skipping bio route")
......@@ -138,7 +138,7 @@ func (nr *NetlinkReader) removePathsFromClients(routes []netlink.Route) {
withdraw := route.NetlinkRouteDiff(nr.routes, routes)
nr.mu.RUnlock()
for _, client := range nr.ClientManager.Clients() {
for _, client := range nr.clientManager.Clients() {
for _, r := range withdraw {
if isBioRoute(r) {
log.WithFields(routeLogFields(r)).Debug("Skipping bio route")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment