diff options
Diffstat (limited to 'server')
-rw-r--r-- | server/server.go | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/server/server.go b/server/server.go index c15403ee..c25652ed 100644 --- a/server/server.go +++ b/server/server.go @@ -1322,6 +1322,10 @@ func (server *BgpServer) handleModGlobalConfig(grpcReq *GrpcRequest) error { if err != nil { return err } + p := config.RoutingPolicy{} + if err := server.SetRoutingPolicy(p); err != nil { + log.Fatal(err) + } go func() { server.globalTypeCh <- c.Global }() |