ypserv/ypserv-2.19-quieter.patch
2006-12-22 17:17:37 +00:00

14 lines
556 B
Diff

--- ypserv-2.19/lib/access.c.orig 2006-12-22 11:48:28.080930000 -0500
+++ ypserv-2.19/lib/access.c 2006-12-22 11:49:35.560015000 -0500
@@ -201,8 +201,8 @@ is_valid (struct svc_req *rqstp, const c
}
else
{
- if (status < 1 && ((sin->sin_addr.s_addr != oldaddr)
- || (status != oldstatus)))
+ if ((status < 1 && status != -4) &&
+ ((sin->sin_addr.s_addr != oldaddr) || (status != oldstatus)))
syslog (LOG_WARNING,
"refused connect from %s:%d to procedure %s (%s,%s;%d)\n",
inet_ntoa (sin->sin_addr), ntohs (sin->sin_port),