fatih@gandi.net has uploaded this change for review.

View Change

config: fix ip addr parsing on FreeBSD

according to man getaddrinfo(3):
"All other elements of the addrinfo structure passed via hints must be
zero or the null pointer."

also fix error reporting by using gai_strerror

Change-Id: I470b79c1194f99fbc368047d702fa47a8a75823e
Signed-off-by: Fatih Acar <fatih.acar@gandi.net>
---
M src/config_parsing/config_parsing.c
1 file changed, 2 insertions(+), 1 deletion(-)

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

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

Gerrit-Project: ffilz/nfs-ganesha
Gerrit-Branch: next
Gerrit-MessageType: newchange
Gerrit-Change-Id: I470b79c1194f99fbc368047d702fa47a8a75823e
Gerrit-Change-Number: 418815
Gerrit-PatchSet: 1
Gerrit-Owner: fatih@gandi.net