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

  • From: "kallisti5" <trac@xxxxxxxxxxxx>
  • Date: Sun, 09 Aug 2015 15:46:49 -0000

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

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


Comment:

This is actually invalid.

I assumed IsLocal simply looked for ::1 or 127.0.0.1 like IsBroadcast,
IsMulticast, etc. However IsLocal looks to see if the address is assigned
to an interface on the system.

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

Other related posts: