X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=utils%2Fmountd%2Fauth.c;h=9de7ba7165be898094252fd5861e3fa1b1e43749;hb=f1bfe0916c04d93de7a4fae5315fff6e4ccac23f;hp=6361fcebb13f6f1170c791ba9e65752e8416e5f6;hpb=317522198e1493fe0f1b10614ff2f3a582a9aaff;p=nfs-utils.git diff --git a/utils/mountd/auth.c b/utils/mountd/auth.c index 6361fce..9de7ba7 100644 --- a/utils/mountd/auth.c +++ b/utils/mountd/auth.c @@ -80,6 +80,7 @@ auth_authenticate_internal(char *what, struct sockaddr_in *caller, my_client.m_naddr = 0; my_client.m_addrlist[0] = caller->sin_addr; n = client_compose(caller->sin_addr); + *error = unknown_host; if (!n) return NULL; strcpy(my_client.m_hostname, *n?n:"DEFAULT");