freebsd-dev/usr.sbin/ypserv
Hiroki Sato f96264e375 - 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
2009-12-13 15:19:01 +00:00
..
Makefile
Makefile.yp Support shadow.byname and shadow.byuid maps, protecting them by 2009-06-25 16:15:39 +00:00
yp_access.c Support shadow.byname and shadow.byuid maps, protecting them by 2009-06-25 16:15:39 +00:00
yp_dblookup.c
yp_dnslookup.c
yp_error.c
yp_extern.h
yp_main.c - Fix main() to use two separated sockets for the two transports 2009-12-13 15:19:01 +00:00
yp_server.c - In ypproc_all_2_svc(), yp_fork() is called only when !debug case. 2009-12-04 14:12:37 +00:00
yp_svc_udp.c
ypinit.8 o Add /etc/shells to a source files list. 2006-06-08 14:49:38 +00:00
ypinit.sh
ypserv.8 - Fix main() to use two separated sockets for the two transports 2009-12-13 15:19:01 +00:00