summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2001-12-29 00:50:30 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2001-12-29 00:50:30 +0000
commitc5fe87cdee8686e33133e854b1c6f162d9b5674f (patch)
tree71fe38de1a75409b0af6c592a221a57c23fbe32b
parentd85634f47f4a1cdba60c8144ec72f169373fb66d (diff)
forgotten xid setting for additional domains; gregs@agilestorage.com, pr 2282
-rw-r--r--usr.sbin/ypbind/ypbind.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/usr.sbin/ypbind/ypbind.c b/usr.sbin/ypbind/ypbind.c
index d319c2fb024..0be3fd8ea28 100644
--- a/usr.sbin/ypbind/ypbind.c
+++ b/usr.sbin/ypbind/ypbind.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ypbind.c,v 1.40 2001/11/05 00:08:34 deraadt Exp $ */
+/* $OpenBSD: ypbind.c,v 1.41 2001/12/29 00:50:29 deraadt Exp $ */
/*
* Copyright (c) 1997,1998 Theo de Raadt <deraadt@OpenBSD.org>
@@ -35,7 +35,7 @@
*/
#ifndef LINT
-static char rcsid[] = "$OpenBSD: ypbind.c,v 1.40 2001/11/05 00:08:34 deraadt Exp $";
+static char rcsid[] = "$OpenBSD: ypbind.c,v 1.41 2001/12/29 00:50:29 deraadt Exp $";
#endif
#include <sys/param.h>
@@ -992,6 +992,7 @@ int force;
strncpy(ypdb->dom_domain, dom, sizeof ypdb->dom_domain-1);
ypdb->dom_domain[sizeof (ypdb->dom_domain)-1] = '\0';
ypdb->dom_lockfd = -1;
+ ypdb->dom_xid = unique_xid(ypdb);
ypdb->dom_pnext = ypbindlist;
ypbindlist = ypdb;
}