144
145
if (!(hp = gethostbyaddr((char *)&addr, sizeof(addr), AF_INET))) {
145
146
xlog(L_ERROR, "can't get hostname of %s", inet_ntoa(addr));
163
157
while ((rep = getrmtabent(1, NULL)) != NULL) {
164
158
if (strcmp(rep->r_client, hp->h_name) == 0 &&
165
159
(exp = auth_authenticate("umountall", sin, rep->r_path)))