diff options
Diffstat (limited to 'binapi/ip6_nd/ip6_nd_rpc.ba.go')
-rw-r--r-- | binapi/ip6_nd/ip6_nd_rpc.ba.go | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/binapi/ip6_nd/ip6_nd_rpc.ba.go b/binapi/ip6_nd/ip6_nd_rpc.ba.go index 24e345f..983f8b6 100644 --- a/binapi/ip6_nd/ip6_nd_rpc.ba.go +++ b/binapi/ip6_nd/ip6_nd_rpc.ba.go @@ -71,6 +71,10 @@ func (c *serviceClient_IP6ndProxyDumpClient) Recv() (*IP6ndProxyDetails, error) case *IP6ndProxyDetails: 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) |