Date: Sun, 13 Dec 2009 15:19:01 +0000 (UTC) From: Hiroki Sato <hrs@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/usr.sbin/ypserv yp_main.c ypserv.8 Message-ID: <200912131519.nBDFJQaL001444@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
hrs 2009-12-13 15:19:01 UTC FreeBSD src repository Modified files: usr.sbin/ypserv yp_main.c ypserv.8 Log: SVN rev 200478 on 2009-12-13 15:19:01Z by hrs - Fix main() to use two separated sockets for the two transports when "-P port" is specified. It invoked svc{tcp,udp}_create() for only one of the two allocated sockets, and prevented the TCP socket from binding to as the result. - Use TI-RPC functions and handle sockets in a transport-independent way. At this moment only AF_INET ("udp" and "tcp") is supported because others need rewrites of ACL handling and yp clients. - Add '-h addr' to specify addresses to bind to. - Convert _msgout() to use variable argument lists and remove asprintf() for error strings. - Remove register storage class specifier. Discussed with: kuriyama MFC after: 1 week Revision Changes Path 1.31 +290 -115 src/usr.sbin/ypserv/yp_main.c 1.44 +10 -1 src/usr.sbin/ypserv/ypserv.8
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200912131519.nBDFJQaL001444>