diff options
Diffstat (limited to 'usr.sbin/ypserv/ypxfr/ypxfr.c')
-rw-r--r-- | usr.sbin/ypserv/ypxfr/ypxfr.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/usr.sbin/ypserv/ypxfr/ypxfr.c b/usr.sbin/ypserv/ypxfr/ypxfr.c index 535d47dcd1d..693fdc16073 100644 --- a/usr.sbin/ypserv/ypxfr/ypxfr.c +++ b/usr.sbin/ypserv/ypxfr/ypxfr.c @@ -30,7 +30,7 @@ */ #ifndef LINT -static char rcsid[] = "$Id: ypxfr.c,v 1.4 1996/03/02 03:42:06 dm Exp $"; +static char rcsid[] = "$Id: ypxfr.c,v 1.5 1996/03/02 04:55:02 dm Exp $"; #endif #include <stdio.h> @@ -545,7 +545,7 @@ char *argv[]; yplog("Connect host: %s", host); - client = yp_bind_host(host,YPPROG,YPVERS,0); + client = yp_bind_host(host,YPPROG,YPVERS,0,1); status = get_remote_ordernum(client,domain,map, ordernum,&new_ordernum); @@ -619,7 +619,8 @@ char *argv[]; client = yp_bind_host(ipadd, atoi(prog), 1, - atoi(port)); + atoi(port), + 0); status = send_reply(client,xfr_status,atoi(tid)); clnt_destroy(client); } |