[haiku-bugs] Re: [Haiku] #12247: BNetworkAddress Equals false when SetTo IPv6 address

  • From: "pulkomandy" <trac@xxxxxxxxxxxx>
  • Date: Sat, 25 Mar 2017 19:10:57 -0000

#12247: BNetworkAddress Equals false when SetTo IPv6 address
----------------------------------+------------------------------------
   Reporter:  kallisti5           |      Owner:  pulkomandy
       Type:  bug                 |     Status:  closed
   Priority:  normal              |  Milestone:  Unscheduled
  Component:  Kits/Network Kit    |    Version:  R1/Development
 Resolution:  no change required  |   Keywords:  ipv6 bunittest bnetlib
 Blocked By:                      |   Blocking:
Has a Patch:  0                   |   Platform:  All
----------------------------------+------------------------------------

Comment (by pulkomandy):

 We can do that, but to test the full functionality we should also delete
 any existing ipv6 interface to test that in that case, the IPv6 address
 indeed isn't accepted.

 Also, I wonder if when specifying an address family explicitly, the
 B_UNCONFIGURED_ADDRESS_FAMILIES flag should be forced. Preferably before
 people start using that as a cheap way to test "is IPv6 available". If you
 force the address family, then there is little point in later rejecting
 it. Maybe we could do the same if the address is in IPv6 format, and use
 the flag only on addresses that require a DNS (or /etc/hosts) lookup?

--
Ticket URL: <https://dev.haiku-os.org/ticket/12247#comment:9>
Haiku <https://dev.haiku-os.org>
The Haiku operating system.

Other related posts: