diff options
-rw-r--r-- | support/export/client.c | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/support/export/client.c b/support/export/client.c index ba2db8f..dbf47b9 100644 --- a/support/export/client.c +++ b/support/export/client.c @@ -745,7 +745,6 @@ client_check(const nfs_client *clp, const struct addrinfo *ai) int client_gettype(char *ident) { - struct addrinfo *ai; char *sp; if (ident[0] == '\0' || strcmp(ident, "*")==0) @@ -767,15 +766,5 @@ client_gettype(char *ident) sp++; } - /* - * Treat unadorned IP addresses as MCL_SUBNETWORK. - * Everything else is MCL_FQDN. - */ - ai = host_pton(ident); - if (ai != NULL) { - freeaddrinfo(ai); - return MCL_SUBNETWORK; - } - return MCL_FQDN; } |