diff options
Diffstat (limited to 'server')
-rw-r--r-- | server/server.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/server.go b/server/server.go index acb15932..a2bd40e8 100644 --- a/server/server.go +++ b/server/server.go @@ -1069,7 +1069,7 @@ func (server *BgpServer) PeerDelete(peer config.Neighbor) error { ch := make(chan *GrpcResponse) server.GrpcReqCh <- &GrpcRequest{ RequestType: REQ_DEL_NEIGHBOR, - Data: peer, + Data: &peer, ResponseCh: ch, } return (<-ch).Err() |