diff options
Diffstat (limited to 'binapi/tapv2/tapv2_rpc.ba.go')
-rw-r--r-- | binapi/tapv2/tapv2_rpc.ba.go | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/binapi/tapv2/tapv2_rpc.ba.go b/binapi/tapv2/tapv2_rpc.ba.go index 3b58f9d..e7144ba 100644 --- a/binapi/tapv2/tapv2_rpc.ba.go +++ b/binapi/tapv2/tapv2_rpc.ba.go @@ -59,6 +59,10 @@ func (c *serviceClient_SwInterfaceTapV2DumpClient) Recv() (*SwInterfaceTapV2Deta case *SwInterfaceTapV2Details: 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) |