diff options
Diffstat (limited to 'nss/getent.c')
-rw-r--r-- | nss/getent.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nss/getent.c b/nss/getent.c index 3a9430fd66..3a482e140f 100644 --- a/nss/getent.c +++ b/nss/getent.c @@ -534,7 +534,7 @@ networks_keys (int number, char *key[]) for (i = 0; i < number; ++i) { if (isdigit (key[i][0])) - net = getnetbyaddr (inet_addr (key[i]), AF_UNIX); + net = getnetbyaddr (inet_addr (key[i]), AF_UNSPEC); else net = getnetbyname (key[i]); |