[Bug 3526] Config option AddressFamily has no effect?

bugzilla-daemon at mindrot.org bugzilla-daemon at mindrot.org
Sun Nov 19 12:09:08 AEDT 2023


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

nix-muell at gmx.net changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Attachment #3746|0                           |1
        is obsolete|                            |
         Resolution|FIXED                       |---
             Status|RESOLVED                    |REOPENED
           Assignee|unassigned-bugs at mindrot.org |nix-muell at gmx.net

--- Comment #12 from nix-muell at gmx.net ---
Created attachment 3761
  --> https://bugzilla.mindrot.org/attachment.cgi?id=3761&action=edit
filter addresses by AddressFamily at connect time

Whoa, wait a sec. As Damien pointed out, my patch was clearly faulty.

I am absolutely not a dev, fairly new to FOSS contributions, and as a
non native english speaker am still a bit concerned about the risk that
`errno = EAFNOSUPPORT` (Address family not supported by protocol
family) might be misleading and/or platform dependent. 
I thought I could find some time to learn enough C to work out
something smarter. That did so far not work out a bit. Sorry for
stalling this so long.

This patch restores Damien's correct position of the new code while
keeping EAFNOSUPPORT with a slightly more specific debug2 output.

-- 
You are receiving this mail because:
You are watching someone on the CC list of the bug.
You are watching the assignee of the bug.


More information about the openssh-bugs mailing list