From Daniel Gryniewicz <dang(a)redhat.com>:
Daniel Gryniewicz has uploaded this change for review. (
https://review.gerrithub.io/425407
Change subject: Fix default config IPv6 connections
......................................................................
Fix default config IPv6 connections
On a v6 enabled machine, the v6 address that Ganesha was binding was
0.0.0.0, not :: or :ffff:0.0.0.0. This means that if you didn't specify
any Bind_Addr then v6 mounts would fail (although v4 worked fine, even
on v6 enabled machines). To fix this, use the AI_PASSIVE flag to
getattrinfo(3), which will return the correct ANY address for each
address family.
Fixes bug #1566082
Change-Id: Ie0ac0826f29b7b2ff20d5fe21be2533744f81698
Signed-off-by: Daniel Gryniewicz <dang(a)redhat.com>
---
M src/config_parsing/config_parsing.c
1 file changed, 6 insertions(+), 4 deletions(-)
git pull ssh://review.gerrithub.io:29418/ffilz/nfs-ganesha refs/changes/07/425407/1
--
To view, visit
https://review.gerrithub.io/425407
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: Ie0ac0826f29b7b2ff20d5fe21be2533744f81698
Gerrit-Change-Number: 425407
Gerrit-PatchSet: 1
Gerrit-Owner: Daniel Gryniewicz <dang(a)redhat.com>