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

bulid fix

parent 9e5e1b31
Branches
Tags
No related merge requests found
...@@ -84,7 +84,7 @@ func (nr *NetlinkReader) addPathsToClients(routes []netlink.Route) { ...@@ -84,7 +84,7 @@ func (nr *NetlinkReader) addPathsToClients(routes []netlink.Route) {
advertise := route.NetlinkRouteDiff(routes, nr.routes) advertise := route.NetlinkRouteDiff(routes, nr.routes)
nr.mu.RUnlock() nr.mu.RUnlock()
for _, client := range nr.ClientManager.Clients() { for _, client := range nr.clientManager.Clients() {
for _, r := range advertise { for _, r := range advertise {
if isBioRoute(r) { if isBioRoute(r) {
log.WithFields(routeLogFields(r)).Debug("Skipping bio route") log.WithFields(routeLogFields(r)).Debug("Skipping bio route")
...@@ -138,7 +138,7 @@ func (nr *NetlinkReader) removePathsFromClients(routes []netlink.Route) { ...@@ -138,7 +138,7 @@ func (nr *NetlinkReader) removePathsFromClients(routes []netlink.Route) {
withdraw := route.NetlinkRouteDiff(nr.routes, routes) withdraw := route.NetlinkRouteDiff(nr.routes, routes)
nr.mu.RUnlock() nr.mu.RUnlock()
for _, client := range nr.ClientManager.Clients() { for _, client := range nr.clientManager.Clients() {
for _, r := range withdraw { for _, r := range withdraw {
if isBioRoute(r) { if isBioRoute(r) {
log.WithFields(routeLogFields(r)).Debug("Skipping bio route") 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