diff options
author | deraadt <deraadt@openbsd.org> | 2001-12-29 00:50:29 +0000 |
---|---|---|
committer | deraadt <deraadt@openbsd.org> | 2001-12-29 00:50:29 +0000 |
commit | f36e8133e0b53b49379cd473d0e9e5a77db32bcf (patch) | |
tree | 169af637cee983d76c8be3928356f424248fb90d /usr.sbin/ypbind | |
parent | document LogLevel DEBUG[123]; ok markus@ (diff) | |
download | wireguard-openbsd-f36e8133e0b53b49379cd473d0e9e5a77db32bcf.tar.xz wireguard-openbsd-f36e8133e0b53b49379cd473d0e9e5a77db32bcf.zip |
forgotten xid setting for additional domains; gregs@agilestorage.com, pr 2282
Diffstat (limited to 'usr.sbin/ypbind')
-rw-r--r-- | usr.sbin/ypbind/ypbind.c | 5 |
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; } |