Peter Schwenke has uploaded this change for review.

View Change

Fix ip_str_to_sockaddr for IPv6

The version of this function I committed previously is
wrong. The calls to inet_pton() should fill in the
argument sp (of type sockadd_t). If an IP address
is the V6 equivalent of a V4 address it is converted
to an IP address and sp is updated accordingly.

Change-Id: I14f1f0445bb5089946ac5ba5cde3bba57d1b3d0c
Signed-off-by: Peter Schwenke <pschwenke@ddn.com>
---
M src/RPCAL/rpc_tools.c
1 file changed, 8 insertions(+), 13 deletions(-)

git pull ssh://review.gerrithub.io:29418/ffilz/nfs-ganesha refs/changes/63/1221963/1

To view, visit change 1221963. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-MessageType: newchange
Gerrit-Project: ffilz/nfs-ganesha
Gerrit-Branch: next
Gerrit-Change-Id: I14f1f0445bb5089946ac5ba5cde3bba57d1b3d0c
Gerrit-Change-Number: 1221963
Gerrit-PatchSet: 1
Gerrit-Owner: Peter Schwenke <pschwenke@ddn.com>