summaryrefslogtreecommitdiffhomepage
path: root/server/monitor.go
diff options
context:
space:
mode:
Diffstat (limited to 'server/monitor.go')
-rw-r--r--server/monitor.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/monitor.go b/server/monitor.go
index 1f445c35..d8276c9e 100644
--- a/server/monitor.go
+++ b/server/monitor.go
@@ -83,7 +83,7 @@ func (w *grpcWatcher) loop() error {
for _, dst := range dsts {
paths := make([]*api.Path, 0, len(dst))
for _, path := range dst {
- paths = append(paths, path.ToApiStruct(table.GLOBAL_RIB_NAME))
+ paths = append(paths, toPathApi(table.GLOBAL_RIB_NAME, path))
}
if len(paths) == 0 {
continue