>From <madhu.punj...@in.ibm.com>:
madhu.punj...@in.ibm.com has uploaded this change for review. (
https://review.gerrithub.io/379522
Change subject: Use 'v6disabled' flag to know if IPv6 is disabled
......................................................................
Use 'v6disabled' flag to know if IPv6 is disabled
Currently ganesha startup on a system with IPv6 disabled fails
with message "Register_program :DISP :FATAL :Cannot register
NFS V3 on UDPv6". This is because there is no check to
know if IPv6 is enabled or not in Register_Program to decide if
a protocol needs to be registered for IPv6 or not.
Fixed this by checking 'v6disabled' flag to know if IPv6 is
disabled. If yes, in Register_Program we do UDP_REGISTER/TCP_REGISTER
for netconfig_udp4/netconfig_tcp4. Else we check if
netconfig is enabled for udp6/tcp6. If no in Register_Program
we do UDP_REGISTER/TCP_REGISTER for netconfig_udp4/netconfig_tcp4,
else in Register_Program we do UDP_REGISTER/TCP_REGISTER
for netconfig_udp6/netconfig_tcp6.
Change-Id: I9e9aa6b89cf224bcf9623bf3200d43854724ab61
Signed-off-by: Madhu Thorat <madhu.punj...@in.ibm.com>
---
M src/MainNFSD/nfs_rpc_dispatcher_thread.c
1 file changed, 12 insertions(+), 12 deletions(-)
git pull ssh://review.gerrithub.io:29418/ffilz/nfs-ganesha
refs/changes/22/379522/1
--
To view, visit https://review.gerrithub.io/379522
To unsubscribe, visit https://review.gerrithub.io/settings
Gerrit-Project: ffilz/nfs-ganesha
Gerrit-Branch: next
Gerrit-MessageType: newchange
Gerrit-Change-Id: I9e9aa6b89cf224bcf9623bf3200d43854724ab61
Gerrit-Change-Number: 379522
Gerrit-PatchSet: 1
Gerrit-Owner: madhu.punj...@in.ibm.com
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Nfs-ganesha-devel mailing list
Nfs-ganesha-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nfs-ganesha-devel