* kcmd.c (kcmd_connect): Always call getport with the address family from the
authorKen Raeburn <raeburn@mit.edu>
Fri, 8 Mar 2002 22:54:34 +0000 (22:54 +0000)
committerKen Raeburn <raeburn@mit.edu>
Fri, 8 Mar 2002 22:54:34 +0000 (22:54 +0000)
commitd496fdb287beabfa4267fc82ac18e88d28c4238c
tree1a74579197ef4c2fa6f9ffa04304d6ba78d18e7b
parent70d7d1b47226e054a3524ff45e84d11395b2a6c9
* kcmd.c (kcmd_connect): Always call getport with the address family from the
current address.  Retry connection to the same remote address if the error
returned was EADDRINUSE; that applies to the local address.
(kcmd, k4cmd): Don't set *fd2p before calling setup_secondary_channel.
(setup_secondary_channel): If fd2p is non-null, initialize the pointed-to value
to -1.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14255 dc483132-0cff-0310-8789-dd5450dbe970
src/appl/bsd/ChangeLog
src/appl/bsd/kcmd.c