diff options
Diffstat (limited to 'binapi/punt')
-rw-r--r-- | binapi/punt/punt.ba.go | 2 | ||||
-rw-r--r-- | binapi/punt/punt_rpc.ba.go | 8 |
2 files changed, 9 insertions, 1 deletions
diff --git a/binapi/punt/punt.ba.go b/binapi/punt/punt.ba.go index cee4393..da3ad13 100644 --- a/binapi/punt/punt.ba.go +++ b/binapi/punt/punt.ba.go @@ -1,6 +1,6 @@ // Code generated by GoVPP's binapi-generator. DO NOT EDIT. // versions: -// binapi-generator: v0.3.5-56-gc0da1f2-dirty +// binapi-generator: v0.4.0-dev // VPP: 21.06-release // source: /usr/share/vpp/api/core/punt.api.json diff --git a/binapi/punt/punt_rpc.ba.go b/binapi/punt/punt_rpc.ba.go index b27fbd4..d244955 100644 --- a/binapi/punt/punt_rpc.ba.go +++ b/binapi/punt/punt_rpc.ba.go @@ -61,6 +61,10 @@ func (c *serviceClient_PuntReasonDumpClient) Recv() (*PuntReasonDetails, error) case *PuntReasonDetails: 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) @@ -109,6 +113,10 @@ func (c *serviceClient_PuntSocketDumpClient) Recv() (*PuntSocketDetails, error) case *PuntSocketDetails: 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) |