Add support for -p option. Otherwise determine our port from the profile
authorPaul Park <pjpark@mit.edu>
Tue, 9 May 1995 19:51:53 +0000 (19:51 +0000)
committerPaul Park <pjpark@mit.edu>
Tue, 9 May 1995 19:51:53 +0000 (19:51 +0000)
commit2c4c6c3b8c72845539fcdc3861ab88ccc97e9475
tree9382e9a5c148a2e488e922d0e23e8d2bb915b1cb
parent389447062d65e05d4f6694bf6b7915553c6df8d7
Add support for -p option.  Otherwise determine our port from the profile
and if not there, from the entry in /etc/services if it exists.
Close the connected socket in the parent process in net_dispatch_client()
this was causing the connection to remain open even when we were done.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5779 dc483132-0cff-0310-8789-dd5450dbe970
src/kadmin/v5server/srv_net.c