NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: iscsid - lfs and ipv6 issues



    Date:        Sat, 18 Nov 2023 11:26:50 -0000 (UTC)
    From:        mlelstv%serpens.de@localhost (Michael van Elst)
    Message-ID:  <uja71q$htq$1%serpens.de@localhost>

  | kre%munnari.OZ.AU@localhost (Robert Elz) writes:
  |
  | >That looks to me as if it should work, and is a lot cleaner, though
  | >I doubt there's a great need to remove the [] if they were given.
  |
  | getaddrinfo() doesn't strip or handle brackets.

As I said before, I haven't looked at all at how the saved address string
is handled after that routine returns it - I assumed that something else
must be processing those (and probably in a way that allowed your 'x'
workaround to work) - but if not, by all means, remove them there, I don't
see any harm in doing that, as the user isn't being required to give them.

kre



Home | Main Index | Thread Index | Old Index