diff options
Diffstat (limited to 'utils/mountd/auth.c')
-rw-r--r-- | utils/mountd/auth.c | 1 |
1 files changed, 1 insertions, 0 deletions
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"); |