summaryrefslogtreecommitdiffhomepage
path: root/pkg/server/server.go
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/server/server.go')
-rw-r--r--pkg/server/server.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/server/server.go b/pkg/server/server.go
index 4aba3b50..a870429d 100644
--- a/pkg/server/server.go
+++ b/pkg/server/server.go
@@ -2477,7 +2477,7 @@ func (s *BgpServer) ListPeer(ctx context.Context, r *api.ListPeerRequest) ([]*ap
continue
}
// FIXME: should remove toConfig() conversion
- l = append(l, NewPeerFromConfigStruct(s.toConfig(peer, getAdvertised)))
+ l = append(l, config.NewPeerFromConfigStruct(s.toConfig(peer, getAdvertised)))
}
return nil
}, false)