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 23391c19..0428a25b 100644
--- a/pkg/server/server.go
+++ b/pkg/server/server.go
@@ -1928,7 +1928,7 @@ func (s *BgpServer) StartBgp(ctx context.Context, r *api.StartBgpRequest) error
return fmt.Errorf("invalid router-id format: %s", g.RouterId)
}
- c := NewGlobalFromAPIStruct(g)
+ c := newGlobalFromAPIStruct(g)
if err := config.SetDefaultGlobalConfigValues(c); err != nil {
return err
}