From <fatih(a)gandi.net>:
fatih(a)gandi.net has uploaded this change for review. (
https://review.gerrithub.io/418815
Change subject: config: fix ip addr parsing on FreeBSD
......................................................................
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(a)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
https://review.gerrithub.io/418815
To unsubscribe, or for help writing mail filters, visit
https://review.gerrithub.io/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(a)gandi.net