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
/
l2tp
/
l2tp_rpc.ba.go
diff --git
a/binapi/l2tp/l2tp_rpc.ba.go
b/binapi/l2tp/l2tp_rpc.ba.go
index
e82ae3d
..
0ba01f2
100644
(file)
--- a/
binapi/l2tp/l2tp_rpc.ba.go
+++ b/
binapi/l2tp/l2tp_rpc.ba.go
@@
-97,6
+97,10
@@
func (c *serviceClient_SwIfL2tpv3TunnelDumpClient) Recv() (*SwIfL2tpv3TunnelDeta
case *SwIfL2tpv3TunnelDetails:
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)