summaryrefslogtreecommitdiffstats
path: root/support/export/client.c
diff options
context:
space:
mode:
authorHenrique Martins <linux@martins.cc>2014-11-04 15:12:16 -0500
committerSteve Dickson <steved@redhat.com>2014-11-04 15:13:37 -0500
commit076dd803330d93819c6e7862f515a8fa3997a83b (patch)
tree5dbe24b9537958c8b8d09ae906050691d02a109d /support/export/client.c
parent7afda720e48d774ccc02c7e6b97f05882bba3d06 (diff)
downloadnfs-utils-076dd803330d93819c6e7862f515a8fa3997a83b.tar.gz
nfs-utils-076dd803330d93819c6e7862f515a8fa3997a83b.tar.xz
nfs-utils-076dd803330d93819c6e7862f515a8fa3997a83b.zip
exportfs: changes handling of unresolvable entries
The patch to nfs/exportfs to allow nfsd to start when there are some, but not all, unresolvable entries in /etc/exports. Signed-off-by: Henrique Martins <linux@martins.cc> Signed-off-by: Steve Dickson <steved@redhat.com>
Diffstat (limited to 'support/export/client.c')
-rw-r--r--support/export/client.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/support/export/client.c b/support/export/client.c
index f85e11c..95156f0 100644
--- a/support/export/client.c
+++ b/support/export/client.c
@@ -277,7 +277,7 @@ client_lookup(char *hname, int canonical)
if (htype == MCL_FQDN && !canonical) {
ai = host_addrinfo(hname);
if (!ai) {
- xlog(L_ERROR, "Failed to resolve %s", hname);
+ xlog(L_WARNING, "Failed to resolve %s", hname);
goto out;
}
hname = ai->ai_canonname;