summaryrefslogtreecommitdiff
path: root/usr.sbin/ypserv/common/yplib_host.h
diff options
context:
space:
mode:
authordm <dm@cvs.openbsd.org>1996-03-02 04:55:03 +0000
committerdm <dm@cvs.openbsd.org>1996-03-02 04:55:03 +0000
commit77e612e8ddc74849d1e0af5991485606f0035f2e (patch)
tree47e8bde831e48ee2a5d4bbee48326869cb57447f /usr.sbin/ypserv/common/yplib_host.h
parent941923ed2c72088daeca8c707ae993731a1b7410 (diff)
Using TCP broke ypxfr -C which in turn caused yppush to fail on the
master NIS server. I gave yp_bind_host an extra argument to select TCP/UDP transport.
Diffstat (limited to 'usr.sbin/ypserv/common/yplib_host.h')
-rw-r--r--usr.sbin/ypserv/common/yplib_host.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/ypserv/common/yplib_host.h b/usr.sbin/ypserv/common/yplib_host.h
index 54d8d66a9bc..c8d74e71862 100644
--- a/usr.sbin/ypserv/common/yplib_host.h
+++ b/usr.sbin/ypserv/common/yplib_host.h
@@ -53,7 +53,7 @@ int yp_maplist_host __P((CLIENT *client, char *indomain,
struct ypmaplist **outmaplist));
CLIENT *yp_bind_local __P((u_long program, u_long version));
CLIENT *yp_bind_host __P((char *server, u_long program, u_long version,
- u_short port));
+ u_short port, int usetcp));
#endif /* _YPLIB_HOST_H_ */