5a38b81b42
programs (like rshd or rlogind). bindresvport() and bindresvport_sa() exhibits exactly the same functionality, with different function prototype (sockaddr_in * and sockaddr *). The behavior and prototype was discussed and agreed among shin@kame.net (who is doing freebsd-current kame merge), deraadt@openbsd.org, and Jean-Luc.Richier@imag.fr (INRIA IPv6/IPv6 RPC support). so it will be portable across *bsd.