Code Review
/
govpp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
| inline |
side by side
Refactoring and fixes
[govpp.git]
/
binapi
/
tapv2
/
tapv2_rpc.ba.go
diff --git
a/binapi/tapv2/tapv2_rpc.ba.go
b/binapi/tapv2/tapv2_rpc.ba.go
index
3b58f9d
..
e7144ba
100644
(file)
--- 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)