[haiku-bugs] Re: [Haiku] #12246: BNetworkAddress IsLocal false when SetTo "::1" IPv6 address

  • From: "kallisti5" <trac@xxxxxxxxxxxx>
  • Date: Sun, 09 Aug 2015 16:36:26 -0000

#12246: BNetworkAddress IsLocal false when SetTo "::1" IPv6 address
--------------------------------+------------------------------------
Reporter: kallisti5 | Owner: axeld
Type: bug | Status: reopened
Priority: normal | Milestone: Unscheduled
Component: Kits/Network Kit | Version: R1/Development
Resolution: | Keywords: ipv6 bunittest bnetlib
Blocked By: | Blocking:
Has a Patch: 0 | Platform: All
--------------------------------+------------------------------------
Changes (by kallisti5):

* status: closed => reopened
* resolution: invalid =>


Comment:

Actually, this is broken. IsLocal for ::1 results in a failed match even
though it is assigned to loop.

My unit tests show BNetworkAddress Equals is broken for IPv6, and IsLocal
uses Equals... so that is likely the cause.

--
Ticket URL: <https://dev.haiku-os.org/ticket/12246#comment:2>
Haiku <https://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: