diff options
-rw-r--r-- | usr.sbin/ypserv/ypxfr/ypxfr.c | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/usr.sbin/ypserv/ypxfr/ypxfr.c b/usr.sbin/ypserv/ypxfr/ypxfr.c index 964a1a3989a..33a83373ff8 100644 --- a/usr.sbin/ypserv/ypxfr/ypxfr.c +++ b/usr.sbin/ypserv/ypxfr/ypxfr.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ypxfr.c,v 1.8 1996/09/30 20:50:25 maja Exp $ */ +/* $OpenBSD: ypxfr.c,v 1.9 1996/10/01 01:53:08 deraadt Exp $ */ /* * Copyright (c) 1994 Mats O Jansson <moj@stacken.kth.se> @@ -32,7 +32,7 @@ */ #ifndef LINT -static char rcsid[] = "$OpenBSD: ypxfr.c,v 1.8 1996/09/30 20:50:25 maja Exp $"; +static char rcsid[] = "$OpenBSD: ypxfr.c,v 1.9 1996/10/01 01:53:08 deraadt Exp $"; #endif #include <stdio.h> @@ -554,10 +554,8 @@ char *argv[]; yplog("Check for reserved port on host: %s", host); srvport = getrpcport(host,YPPROG,YPVERS,IPPROTO_TCP); - if (srvport >= IPPORT_RESERVED || - srvport < IPPORT_RESERVED/2) { + if (srvport >= IPPORT_RESERVED) status = YPPUSH_REFUSED; - } } |