Module Name: src Committed By: dholland Date: Tue May 24 07:01:53 UTC 2011
Modified Files: src/usr.sbin/ypbind: ypbind.c Log Message: Merge a couple more minor improvements from Wolfgang Stukenbrock's patch in PR 43900. To generate a diff of this commit: cvs rdiff -u -r1.84 -r1.85 src/usr.sbin/ypbind/ypbind.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/usr.sbin/ypbind/ypbind.c diff -u src/usr.sbin/ypbind/ypbind.c:1.84 src/usr.sbin/ypbind/ypbind.c:1.85 --- src/usr.sbin/ypbind/ypbind.c:1.84 Tue May 24 07:01:40 2011 +++ src/usr.sbin/ypbind/ypbind.c Tue May 24 07:01:53 2011 @@ -1,4 +1,4 @@ -/* $NetBSD: ypbind.c,v 1.84 2011/05/24 07:01:40 dholland Exp $ */ +/* $NetBSD: ypbind.c,v 1.85 2011/05/24 07:01:53 dholland Exp $ */ /* * Copyright (c) 1992, 1993 Theo de Raadt <dera...@fsa.ca> @@ -28,7 +28,7 @@ #include <sys/cdefs.h> #ifndef LINT -__RCSID("$NetBSD: ypbind.c,v 1.84 2011/05/24 07:01:40 dholland Exp $"); +__RCSID("$NetBSD: ypbind.c,v 1.85 2011/05/24 07:01:53 dholland Exp $"); #endif #include <sys/types.h> @@ -401,7 +401,6 @@ sizeof(dom->dom_server_addr)); /* recheck binding in 60 seconds */ dom->dom_checktime = time(NULL) + 60; - dom->dom_vers = YPVERS; dom->dom_alive = 1; if (dom->dom_lockfd != -1) @@ -559,7 +558,8 @@ bindsin.sin_port = sd->ypsetdom_port; rpc_received(sd->ypsetdom_domain, &bindsin, 1, 1); - DPRINTF("ypset to %s succeeded\n", inet_ntoa(bindsin.sin_addr)); + DPRINTF("ypset to %s for domain %s succeeded\n", + inet_ntoa(bindsin.sin_addr), sd->ypsetdom_domain); res = 1; return &res; }