summaryrefslogtreecommitdiffhomepage
path: root/api
diff options
context:
space:
mode:
authorISHIDA Wataru <ishida.wataru@lab.ntt.co.jp>2016-07-29 13:54:18 +0000
committerFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>2016-07-29 16:31:35 +0900
commite97a59c5390fc05ba75673fb4ff7e061c1e73e4f (patch)
tree07813290b57b33708e2b70a6724b0573a4e230fe /api
parent4fec73235a5fe507bfdd6e9c1bc19325b2d65dbd (diff)
config: curve out code specific to default neighbor config setting
Signed-off-by: ISHIDA Wataru <ishida.wataru@lab.ntt.co.jp>
Diffstat (limited to 'api')
-rw-r--r--api/grpc_server.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/api/grpc_server.go b/api/grpc_server.go
index 69864831..69ade16c 100644
--- a/api/grpc_server.go
+++ b/api/grpc_server.go
@@ -1662,7 +1662,7 @@ func (s *Server) StartServer(ctx context.Context, arg *StartServerRequest) (*Sta
AfiSafis: families,
},
}
- if err := config.SetDefaultConfigValues(nil, b); err != nil {
+ if err := config.SetDefaultConfigValues(b); err != nil {
return nil, err
}
return &StartServerResponse{}, s.bgpServer.Start(&b.Global)