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 | |
parent | 484ba739dfb97190d7806c99d2217a5529fa96a0 (diff) | |
download | glibc-f114375059d2f3ee90aaeea242120b3dda84787b.zip glibc-f114375059d2f3ee90aaeea242120b3dda84787b.tar.gz glibc-f114375059d2f3ee90aaeea242120b3dda84787b.tar.bz2 |
(rcmd_af): Allow AF_UNSPEC as parameter.
-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 04c4ac7..b240c8d 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; |