https://bugzilla.mindrot.org/show_bug.cgi?id=3526

--- Comment #6 from nix-mu...@gmx.net ---
(In reply to Damien Miller from comment #5)
> Created attachment 3741 [details]
> filter addresses by AddressFamily at connect time
> 
> Please give this patch a try

This made ssh skip any address (connect only if an address family has
been specified).
It works exactly as expected, though, when I changed
`options.address_family != -1` to
`options.address_family != 0`
Tested on macOS and Debian 12.

Looking at the code in ssh.c and readconf.c, I too expected -1 to be
correct and certainly do not understand what's going on there.

-- 
You are receiving this mail because:
You are watching the assignee of the bug.
You are watching someone on the CC list of the bug.
_______________________________________________
openssh-bugs mailing list
openssh-bugs@mindrot.org
https://lists.mindrot.org/mailman/listinfo/openssh-bugs

Reply via email to