diff options
author | Ulrich Drepper <drepper@redhat.com> | 2001-04-03 22:42:08 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2001-04-03 22:42:08 +0000 |
commit | f114375059d2f3ee90aaeea242120b3dda84787b (patch) | |
tree | aa89d512b7616bb59a524cc0897c547870f57282 /inet/rcmd.c | |
parent | 484ba739dfb97190d7806c99d2217a5529fa96a0 (diff) | |
download | glibc-f114375059d2f3ee90aaeea242120b3dda84787b.tar.gz |
(rcmd_af): Allow AF_UNSPEC as parameter.
Diffstat (limited to 'inet/rcmd.c')
-rw-r--r-- | inet/rcmd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/inet/rcmd.c b/inet/rcmd.c index 04c4ac7a38..b240c8d263 100644 --- a/inet/rcmd.c +++ b/inet/rcmd.c @@ -117,7 +117,7 @@ rcmd_af(ahost, rport, locuser, remuser, cmd, fd2p, af) char num[8]; ssize_t n; - if (af != AF_INET && af != AF_INET6) + if (af != AF_INET && af != AF_INET6 && af != AF_UNSPEC) { __set_errno (EAFNOSUPPORT); return -1; |