#12247: BNetworkAddress Equals false when SetTo IPv6 address
--------------------------------+------------------------------------
Reporter: kallisti5 | Owner: axeld
Type: bug | Status: new
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
--------------------------------+------------------------------------
Comment (by kallisti5):
{{{
#include <NetworkAddress.h>
#include <stdio.h>
int
main()
{
BNetworkAddress address;
status_t result = address.SetTo(AF_INET6, "::1");
status_t result = address.SetTo("::1");
printf("result: %d\n", result);
}
}}}
Both status_t's fail with -1 (B_ERROR)
Looks like setting IPv6 addresses to BNetworkAddress fails.
--
Ticket URL: <https://dev.haiku-os.org/ticket/12247#comment:1>
Haiku <https://dev.haiku-os.org>
Haiku - the operating system.