Blame SOURCES/nfs-utils-1.3.0-hostpton-eainoname.patch

64c563
commit 23d26f9c9fd94406d0c1f4365e6180d59b744861
64c563
Author: Scott Mayhew <smayhew@redhat.com>
64c563
Date:   Mon Nov 2 08:45:09 2015 -0500
64c563
64c563
    exportfs: Restore the EAI_NONAME check in host_pton()
64c563
    
64c563
    Commit d89e3fc7 removed the EAI_NONAME check altogether instead of just
64c563
    moving the NULL check.  This causes exportfs -u to incorrectly exit
64c563
    with 1 whenever there's more than one MCL_FQDN export in the exportlist.
64c563
    
64c563
    Signed-off-by: Scott Mayhew <smayhew@redhat.com>
64c563
    Signed-off-by: Steve Dickson <steved@redhat.com>
64c563
64c563
diff --git a/support/export/hostname.c b/support/export/hostname.c
64c563
index 169baa5..7a44d42 100644
64c563
--- a/support/export/hostname.c
64c563
+++ b/support/export/hostname.c
64c563
@@ -134,6 +134,8 @@ host_pton(const char *paddr)
64c563
 			break;
64c563
 		}
64c563
 		return ai;
64c563
+	case EAI_NONAME:
64c563
+		break;
64c563
 	case EAI_SYSTEM:
64c563
 		xlog(D_GENERAL, "%s: failed to convert %s: (%d) %m",
64c563
 				__func__, paddr, errno);