summaryrefslogtreecommitdiffstats
path: root/internal/testbinapi/binapi2001/tcp/tcp_rpc.ba.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/testbinapi/binapi2001/tcp/tcp_rpc.ba.go')
-rw-r--r--internal/testbinapi/binapi2001/tcp/tcp_rpc.ba.go5
1 files changed, 3 insertions, 2 deletions
diff --git a/internal/testbinapi/binapi2001/tcp/tcp_rpc.ba.go b/internal/testbinapi/binapi2001/tcp/tcp_rpc.ba.go
index 8be3619..2d045f7 100644
--- a/internal/testbinapi/binapi2001/tcp/tcp_rpc.ba.go
+++ b/internal/testbinapi/binapi2001/tcp/tcp_rpc.ba.go
@@ -4,10 +4,11 @@ package tcp
import (
"context"
+
api "git.fd.io/govpp.git/api"
)
-// RPCService defines RPC service tcp.
+// RPCService defines RPC service tcp.
type RPCService interface {
TCPConfigureSrcAddresses(ctx context.Context, in *TCPConfigureSrcAddresses) (*TCPConfigureSrcAddressesReply, error)
}
@@ -26,5 +27,5 @@ func (c *serviceClient) TCPConfigureSrcAddresses(ctx context.Context, in *TCPCon
if err != nil {
return nil, err
}
- return out, nil
+ return out, api.RetvalToVPPApiError(out.Retval)
}