summaryrefslogtreecommitdiffstats
path: root/binapi/ip_neighbor/ip_neighbor_rpc.ba.go
diff options
context:
space:
mode:
Diffstat (limited to 'binapi/ip_neighbor/ip_neighbor_rpc.ba.go')
-rw-r--r--binapi/ip_neighbor/ip_neighbor_rpc.ba.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/binapi/ip_neighbor/ip_neighbor_rpc.ba.go b/binapi/ip_neighbor/ip_neighbor_rpc.ba.go
index 2ecde5e..727c12f 100644
--- a/binapi/ip_neighbor/ip_neighbor_rpc.ba.go
+++ b/binapi/ip_neighbor/ip_neighbor_rpc.ba.go
@@ -82,6 +82,10 @@ func (c *serviceClient_IPNeighborDumpClient) Recv() (*IPNeighborDetails, error)
case *IPNeighborDetails:
return m, nil
case *vpe.ControlPingReply:
+ err = c.Stream.Close()
+ if err != nil {
+ return nil, err
+ }
return nil, io.EOF
default:
return nil, fmt.Errorf("unexpected message: %T %v", m, m)