diff options
Diffstat (limited to 'gobgpd/main.go')
-rw-r--r-- | gobgpd/main.go | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gobgpd/main.go b/gobgpd/main.go index 810137a0..9466e622 100644 --- a/gobgpd/main.go +++ b/gobgpd/main.go @@ -170,6 +170,11 @@ func main() { grpcServer := server.NewGrpcServer(server.GRPC_PORT, bgpServer.GrpcReqCh) go grpcServer.Serve() + if opts.ConfigFile == "" { + bgpServer.SetBmpConfig(config.BmpServers{ + BmpServerList: []config.BmpServer{}, + }) + } var bgpConfig *config.Bgp = nil var policyConfig *config.RoutingPolicy = nil for { |