+17
−5
Loading
paddr/pport don't apply to listen sockets, since listen sockets don't have a peer. So throw an explicit error if they are specified, rather than just waiting for the getpeername() to fail. Signed-off-by:Jim Harris <jim.harris@samsung.com> Change-Id: Ic537f8000f7625a1165ca02373db3227a1c55eb8 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/24144 Tested-by:
SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by:
Konrad Sztyber <konrad.sztyber@intel.com> Community-CI: Mellanox Build Bot Reviewed-by:
Aleksey Marchuk <alexeymar@nvidia.com>