Change module name to go.fd.io/govpp
[govpp.git] / binapi / tcp / tcp_rpc.ba.go
index a87c7e5..5a28d67 100644 (file)
@@ -5,10 +5,10 @@ package tcp
 import (
        "context"
 
-       api "git.fd.io/govpp.git/api"
+       api "go.fd.io/govpp/api"
 )
 
-// RPCService defines RPC service  tcp.
+// RPCService defines RPC service tcp.
 type RPCService interface {
        TCPConfigureSrcAddresses(ctx context.Context, in *TCPConfigureSrcAddresses) (*TCPConfigureSrcAddressesReply, error)
 }
@@ -27,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)
 }