diff options
Diffstat (limited to 'server')
-rw-r--r-- | server/server.go | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/server/server.go b/server/server.go index 35b2388b..0fc661f5 100644 --- a/server/server.go +++ b/server/server.go @@ -817,19 +817,6 @@ func (server *BgpServer) handleFSMMessage(peer *Peer, e *FsmMsg) { return } -func (server *BgpServer) SetGlobalType(g config.Global) error { - ch := make(chan *GrpcResponse) - server.GrpcReqCh <- &GrpcRequest{ - RequestType: REQ_START_SERVER, - Data: &g, - ResponseCh: ch, - } - if err := (<-ch).Err(); err != nil { - return err - } - return nil -} - func (s *BgpServer) StartCollector(c *config.CollectorConfig) (err error) { ch := make(chan struct{}) defer func() { <-ch }() |