libibverbs/examples: fix IPv6 support
authorshefty <shefty@ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86>
Wed, 11 Mar 2009 21:37:05 +0000 (21:37 +0000)
committershefty <shefty@ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86>
Wed, 11 Mar 2009 21:37:05 +0000 (21:37 +0000)
commitb15826f8755d0b3a19b77cdfad89a6a9a865903c
tree3e423ce927118f46cae51f81082755209d22026f
parentcfbdcd22341c7c23c9f759320aff974ebaaff42a
libibverbs/examples: fix IPv6 support

Allow servers to accept connections from IPv4 and IPv6 clients.  Fix based on patch provided by Leonid.

Signed-off-by: Sean Hefty <sean.hefty@intel.com>
git-svn-id: svn://openib.tc.cornell.edu/gen1/trunk@2023 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86
ulp/libibverbs/examples/rc_pingpong/rc_pingpong.c
ulp/libibverbs/examples/srq_pingpong/srq_pingpong.c
ulp/libibverbs/examples/uc_pingpong/uc_pingpong.c
ulp/libibverbs/examples/ud_pingpong/ud_pingpong.c