From f114375059d2f3ee90aaeea242120b3dda84787b Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Tue, 3 Apr 2001 22:42:08 +0000 Subject: (rcmd_af): Allow AF_UNSPEC as parameter. --- inet/rcmd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- cgit 1.4.1