when connecting via socket (the default case), filter addresses by
authordjm <djm@openbsd.org>
Wed, 15 Nov 2023 23:03:38 +0000 (23:03 +0000)
committerdjm <djm@openbsd.org>
Wed, 15 Nov 2023 23:03:38 +0000 (23:03 +0000)
commit4ff40062e57fb8a42d28dcb700c25b8254514628
tree2213461fc96deed824fb5ab73a478bbc841b297c
parent1ee271ea2fe2c34df3cee4571464ff50fb7515b4
when connecting via socket (the default case), filter addresses by
AddressFamily if one was specified. Fixes the case where, if
CanonicalizeHostname is enabled, ssh may ignore AddressFamily.
bz5326; ok dtucker
usr.bin/ssh/sshconnect.c