summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--server/server.go2
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()