summaryrefslogtreecommitdiffstats
path: root/utils/mountd
diff options
context:
space:
mode:
authorJeff Layton <jlayton@redhat.com>2008-09-29 10:20:57 -0400
committerSteve Dickson <steved@redhat.com>2008-09-29 10:20:57 -0400
commit6fdba8870cc40a2f40ed87c4b3563e8b29ad124c (patch)
tree6d928c0f02e3eb9cb35919b50c6c56ffa28ca511 /utils/mountd
parent8f1abb8ab1f7afcb9c2c0c094255d7e438b57b09 (diff)
downloadnfs-utils-6fdba8870cc40a2f40ed87c4b3563e8b29ad124c.tar.gz
nfs-utils-6fdba8870cc40a2f40ed87c4b3563e8b29ad124c.tar.xz
nfs-utils-6fdba8870cc40a2f40ed87c4b3563e8b29ad124c.zip
mountd: change "unknown host" error message to "unmatched host"
mount request from unknown host 10.11.14.99 for /export The hosts are listed in DNS with proper reverse records, so the reason why the host is "unknown" isn't clear. This patch just changes the wording of this error to hopefully make it more clear why the mount request was rejected. This also makes this error message use a format more similar to the other error messages in auth_authenticate(). Signed-off-by: Jeff Layton <jlayton@redhat.com> Signed-off-by: Steve Dickson <steved@redhat.com>
Diffstat (limited to 'utils/mountd')
-rw-r--r--utils/mountd/auth.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/mountd/auth.c b/utils/mountd/auth.c
index 2bb708f..dfe61ea 100644
--- a/utils/mountd/auth.c
+++ b/utils/mountd/auth.c
@@ -223,7 +223,7 @@ auth_authenticate(char *what, struct sockaddr_in *caller, char *path)
break;
case unknown_host:
- xlog(L_WARNING, "%s request from unknown host %s for %s (%s)",
+ xlog(L_WARNING, "refused %s request from %s for %s (%s): unmatched host",
what, inet_ntoa(addr), path, epath);
break;