summaryrefslogtreecommitdiffhomepage
path: root/server
diff options
context:
space:
mode:
Diffstat (limited to 'server')
-rw-r--r--server/server.go2
-rw-r--r--server/zclient.go2
2 files changed, 2 insertions, 2 deletions
diff --git a/server/server.go b/server/server.go
index 2deb9b0f..817c7d05 100644
--- a/server/server.go
+++ b/server/server.go
@@ -1246,7 +1246,7 @@ func (server *BgpServer) Api2PathList(resource api.Resource, name string, ApiPat
pattr = append(pattr, bgp.NewPathAttributeExtendedCommunities(extcomms))
}
- paths = append(paths, table.NewPath(pi, nlri, path.IsWithdraw, pattr, false, time.Now(), path.NoImplicitWithdraw))
+ paths = append(paths, table.NewPath(pi, nlri, path.IsWithdraw, pattr, time.Now(), path.NoImplicitWithdraw))
}
return paths, nil
diff --git a/server/zclient.go b/server/zclient.go
index ba731cce..994f1c78 100644
--- a/server/zclient.go
+++ b/server/zclient.go
@@ -127,7 +127,7 @@ func createPathFromIPRouteMessage(m *zebra.Message, peerInfo *table.PeerInfo) *t
med := bgp.NewPathAttributeMultiExitDisc(body.Metric)
pattr = append(pattr, med)
- p := table.NewPath(peerInfo, nlri, isWithdraw, pattr, false, time.Now(), false)
+ p := table.NewPath(peerInfo, nlri, isWithdraw, pattr, time.Now(), false)
p.IsFromZebra = true
return p
}